Blender Git Loki

Git Commits -> Revision c205de0

Revision c205de0 by Bastien Montagne (master)
July 20, 2018, 08:22 (GMT)
Fix T55973: [2.8] Crash when 'apply pose as rest pose' when bone scale is 0,0,0.

`BKE_pose_rebuild()` should (ideally) always trigger a rebuild of the
depsgraph, since it can add or remove posechannels.

This function now takes a Main parameter to ensure that related
depsgraphes are tagged as dirty (kept it optional, for some corner cases).

We should also probably double-check calls to that function, think in
theory it should only be called from depsgraph itself? But for now...

Commit Details:

Full Hash: c205de020365eddbbc0f0cde0ad02dda91126807
Parent Commit: 8a42b39
Lines Changed: +47, -28

12 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+23, -9) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -6) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+2, -1) (Diff)
/source/blender/draw/intern/draw_armature.c (+1, -1) (Diff)
/source/blender/editors/armature/armature_utils.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+1, -1) (Diff)
/source/blender/editors/object/object_relations.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021