[Bf-blender-cvs] [a0fa404deb4] master: Fix T53547 for real now

Sergey Sharybin noreply at git.blender.org
Tue Dec 19 08:57:06 CET 2017


Commit: a0fa404deb447e4d6c3053d26549814510141dab
Author: Sergey Sharybin
Date:   Tue Dec 19 08:56:11 2017 +0100
Branches: master
https://developer.blender.org/rBa0fa404deb447e4d6c3053d26549814510141dab

Fix T53547 for real now

Original fix was assuming that particle init operation is updated on every
frame, which is wrong behavior and that was fixed in previous commit to the
original bugfix.

===================================================================

M	source/blender/depsgraph/intern/builder/deg_builder_relations.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 19e95a3582f..10d4d7a2e9c 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -1386,7 +1386,7 @@ void DepsgraphRelationBuilder::build_particles(Object *object)
 			if (part->dup_ob->type == OB_MBALL) {
 				ComponentKey dup_geometry_key(&part->dup_ob->id,
 				                              DEG_NODE_TYPE_GEOMETRY);
-				add_relation(psys_key,
+				add_relation(obdata_ubereval_key,
 				             dup_geometry_key,
 				             "Particle MBall Visualization");
 			}



More information about the Bf-blender-cvs mailing list