Blender Git Loki
Revision f0f46e9 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) March 23, 2016, 12:15 (GMT) |
Rework library_query foreach looper - add optional recursivity. This commit: * Fixes bad handling of 'stop iteration' (by adding a status flag, so that we can actually stop in helper functions too, and jumping to a finalize label instead of raw return, to allow propper clean up). * Adds optional recursion into 'ID tree' - callback can also decide to exclude current id_pp from recursion. Note that this implies 'readonly', modifying IDs while recursing is not something we want to support! * Changes callback signature/expected behavior: return behavior is now handled through flags, and 'parent' ID of id_pp is also passed (since it may not always be root id anymore). Used this new recursive behavior in ID preview generation as an example, would obviously be committed separately. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1869 |
Revision 09444bc by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) March 17, 2016, 11:23 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision f500019 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) March 6, 2016, 13:51 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 3d4ac80 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) March 4, 2016, 13:24 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 2a09cb6 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 29, 2016, 14:15 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 5b5f550 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 25, 2016, 13:21 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 37f58ff by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 25, 2016, 13:20 (GMT) |
Forgot to include AnimationData into new recursive libquery foreach... |
Revision e714e1c by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 24, 2016, 09:18 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 3054a8a by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 20, 2016, 17:06 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 87a385b by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 19, 2016, 09:47 (GMT) |
Cleanup (remove some useless diff compared to master). |
Revision 3652a0e by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 19, 2016, 09:29 (GMT) |
Merge branch 'master' into libquery-recursive |
Revision 827b145 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, libquery-recursive) February 18, 2016, 16:53 (GMT) |
Rework library_query foreach looper - add optional recursivity. This commit: * Fixes bad handling of 'stop iteration' (by adding a status flag, so that we can actually stop in helper functions too, and jumping to a finalize label instead of raw return, to allow propper clean up). * Adds optional recursion into 'ID tree' - callback can also decide to exclude current id_pp from recursion. Note that this implies 'readonly', modifying IDs while recursing is not something we want to support! * Changes callback signature/expected behavior: return behavior is now handled through flags, and 'parent' ID of id_pp is also passed (since it may not always be root id anymore). Used this new recursive behavior in ID preview generation as an example, still needs more testing! |