Revision: 41627
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41627
Author:   blendix
Date:     2011-11-07 17:07:54 +0000 (Mon, 07 Nov 2011)
Log Message:
-----------
Revert fix for #29146, needs deeper changes to solve this fully.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/depsgraph.c

Modified: trunk/blender/source/blender/blenkernel/intern/depsgraph.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/depsgraph.c  2011-11-07 
16:36:49 UTC (rev 41626)
+++ trunk/blender/source/blender/blenkernel/intern/depsgraph.c  2011-11-07 
17:07:54 UTC (rev 41627)
@@ -592,7 +592,10 @@
 
                        if(part->ren_as == PART_DRAW_OB && part->dup_ob) {
                                node2 = dag_get_node(dag, part->dup_ob);
-                               dag_add_relation(dag, node2, node, 
DAG_RL_OB_OB, "Particle Object Visualisation");
+                               /* note that this relation actually runs in the 
wrong direction, the problem
+                                  is that dupli system all have this (due to 
parenting), and the render
+                                  engine instancing assumes particular 
ordering of objects in list */
+                               dag_add_relation(dag, node, node2, 
DAG_RL_OB_OB, "Particle Object Visualisation");
                                if(part->dup_ob->type == OB_MBALL)
                                        dag_add_relation(dag, node2, node, 
DAG_RL_DATA_DATA, "Particle Object Visualisation");
                        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to