Blender Git Commit Log

Git Commits -> Revision b617d6d

Revision b617d6d by Antonis Ryakiotakis (master)
July 9, 2014, 16:58 (GMT)
Fix T40991, mirrored armatures not restored properly when cancelling.

Issue here is that we force mirroring even if original armature is not
mirrored.

We could be smart and store only unselected mirrored bones here (since
those will get restored from transdata), however not all properties were
getting stored and restored; rolling bones still suffered from the bug
for instance.

To fix this we need to restore all properties that armature mirroring
overrides. Transdata obviously does not offer a lot of space here, so I
used TransInfo->customdata to store an array of initial parameters of
the mirrored bones.

Commit Details:

Full Hash: b617d6d5e6604cb259740e486bf1ac6c07cf42d9
Parent Commit: 5b0e4cd
Lines Changed: +81, -6

3 Modified Paths:

/source/blender/editors/transform/transform.h (+13, -0) (Diff)
/source/blender/editors/transform/transform_conversions.c (+62, -3) (Diff)
/source/blender/editors/transform/transform_generics.c (+6, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021