Blender Git Loki
Git Commits -> Revision f59b6ff
December 19, 2016, 13:11 (GMT) |
Using an iterator to go over objects, and use this for library_query This is not the ideal iterator (it loops over the scene collection tree 3x). One solution (I want to discuss with Bastien Montagne @mont29) is whether to store the *parent of a SceneCollection to help with that. That would speed things up, and cost less memory. We do not even need to store it in the file, since it can be re-generated at read time |
Commit Details:
Full Hash: f59b6ff4108f66e066ba85d15bc2c8c59913b643
Parent Commit: 57a5f2e
Lines Changed: +55, -71
5 Modified Paths:
/source/blender/blenkernel/BKE_collection.h (+31, -3) (Diff)
/source/blender/blenkernel/intern/collection.c (+19, -64) (Diff)
/source/blender/blenkernel/intern/library_query.c (+2, -2) (Diff)
/source/blender/blenlib/BLI_ghash.h (+1, -0) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/collection.c (+19, -64) (Diff)
/source/blender/blenkernel/intern/library_query.c (+2, -2) (Diff)
/source/blender/blenlib/BLI_ghash.h (+1, -0) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)