Depsgraph: Fix cycle with rigid body and Weight Proximity
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 20 Mar 2019 15:35:23 +0000 (16:35 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 20 Mar 2019 15:37:15 +0000 (16:37 +0100)
commit099a41047882bbd835941e70c419290008ee35cd
tree024417dd079c0fb8b6cc8b83e8a12b1fd65a8542
parentc5fc861172879102034129ecbe653e91eeff5caf
Depsgraph: Fix cycle with rigid body and Weight Proximity

The issue is a feedback loop with point cache reset operation.

Solved by introducing extra node which ensures object's transformation
is ready for simulator input. Allows to route relations without causing
a fake dependency cycle now.
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/depsgraph/intern/node/deg_node_operation.cc
source/blender/depsgraph/intern/node/deg_node_operation.h