Blender Git Commit Log
Git Commits -> Revision a45dd52
Revision a45dd52 by Philipp Oeser (master) September 3, 2021, 15:15 (GMT) |
Depsgraph: skip parentbone relation if bone prop is empty Clearing the Parent Bone field in relations would result in something like this: ``` add_relation(Bone Parent) - Could not find op_from (ComponentKey(OBArmature, BONE)) add_relation(Bone Parent) - Failed, but op_to (ComponentKey(OBEmpty, TRANSFORM)) was ok ERROR (bke.object): /source/blender/blenkernel/internobject.c:3330 ob_parbone: Object Empty with Bone parent: bone doesn't exist ``` Now skip creation of a depsgraph relation if the Parent Bone field is empty (since this would be invalid anyways). ref. T91101 Maniphest Tasks: T91101 Differential Revision: https://developer.blender.org/D12389 |
Commit Details:
Full Hash: a45dd52cf0bbdc0ff362681a4836385c8154c70d
Parent Commit: ac97893
Lines Changed: +7, -5
1 Modified Path:
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+7, -5) (Diff)