Blender Git Commit Log

Git Commits -> Revision 824bf26

Revision 824bf26 by Dalai Felinto (master)
June 2, 2017, 08:45 (GMT)
Initial implememtation for dupli objects

Now dupli groups, objects, particles, ... are all working.

This introduces a flag for the iterator to determine whether we go over
Set and dupli objects or not.

Important to remember to keep the iteration of DEG_ as readonly.

Cycles is not working well for dupli groups, and it's memleaking
for dupli particles. So for now we iterate over main objects and set
only, not dupli.

To change that go in rna_scene.c and:

-DEG_OBJECT_ITER(graph, ob, DEG_OBJECT_ITER_FLAG_SET)
+DEG_OBJECT_ITER(graph, ob, DEG_OBJECT_ITER_FLAG_ALL)

Review and suggestions by Sergey Sharybin

Commit Details:

Full Hash: 824bf261f773465fd3463d39725143ba827a5808
Parent Commit: f8ea2c9
Lines Changed: +139, -44

5 Modified Paths:

/source/blender/depsgraph/DEG_depsgraph_query.h (+43, -10) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cc (+75, -23) (Diff)
/source/blender/draw/intern/draw_manager.c (+13, -8) (Diff)
/source/blender/makesrna/intern/rna_depsgraph.c (+7, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021