Blender Git Loki
Git Commits -> Revision e3b2f0f
Revision e3b2f0f by Bastien Montagne (master) October 29, 2021, 09:32 (GMT) |
LibQuery: Add macro to help break looping when requested. The new `BKE_LIB_FOREACHID_PROCESS_FUNCTION_CALL` execute the given statement and then check status of `LibraryForeachIDData` data, and return in case stop of iteration is requested. This is very similar to the other `BKE_LIB_FOREACHID_PROCESS_` existing macros, and allows us to properly break iteration when a sub-function has requested it. Part of T90922: Fix return policy inconsistency in `scene_foreach_id`. |
Commit Details:
Full Hash: e3b2f0fd6ff912bac69a94e35ac2f617c720328e
Parent Commit: 51c1c1c
Lines Changed: +186, -94
19 Modified Paths:
/source/blender/blenkernel/BKE_lib_query.h (+9, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+13, -7) (Diff)
/source/blender/blenkernel/intern/brush.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+8, -4) (Diff)
/source/blender/blenkernel/intern/light.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/nla.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.cc (+14, -8) (Diff)
/source/blender/blenkernel/intern/object.c (+34, -14) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+73, -35) (Diff)
/source/blender/blenkernel/intern/screen.c (+10, -9) (Diff)
/source/blender/blenkernel/intern/simulation.cc (+2, -1) (Diff)
/source/blender/blenkernel/intern/texture.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/world.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+13, -7) (Diff)
/source/blender/blenkernel/intern/brush.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+8, -4) (Diff)
/source/blender/blenkernel/intern/light.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+4, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -3) (Diff)
/source/blender/blenkernel/intern/nla.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.cc (+14, -8) (Diff)
/source/blender/blenkernel/intern/object.c (+34, -14) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+73, -35) (Diff)
/source/blender/blenkernel/intern/screen.c (+10, -9) (Diff)
/source/blender/blenkernel/intern/simulation.cc (+2, -1) (Diff)
/source/blender/blenkernel/intern/texture.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/world.c (+2, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -1) (Diff)