Blender Git Loki
Git Commits -> Revision 5d9a1b4
Revision 5d9a1b4 by Sergey Sharybin (master) July 19, 2017, 13:20 (GMT) |
Depsgraph: Fix wrong ID remapping when armature object is constructed prior to it's targets Previously it was possible to run into situation when armature is constructed prior to objects which are used for it's constraints. This was causing wrong scene evaluation. Now we create placeholders for objects used by armature in case they don't have ID node yet, which ensures we have proper mapping from original to copy-on-write ID pointer. |
Commit Details:
Full Hash: 5d9a1b440b13bcd6f4255e7205421c0495e7ea12
Parent Commit: a532fe5
Lines Changed: +78, -31
7 Modified Paths:
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+3, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_layer.cc (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+19, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+8, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+34, -13) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.h (+10, -8) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_layer.cc (+2, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+2, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+19, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+8, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+34, -13) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.h (+10, -8) (Diff)