Blender Git Loki
Git Commits -> Revision 844a17a
Revision 844a17a by Campbell Barton (master) May 4, 2018, 13:18 (GMT) |
Transform: use bool when local matrix is needed Existing code checked pose/edit mode to check for transforming in an objects local space. This added many similar checks all over the code, which leads to confusion. Multi-edit caused a regression in UV transform since where UV's had the object matrix applied by accident. Now there is a boolean to use a local matrix, this allows for any mode to have a 4x4 matrix applied w/o adding mode specific checks everywhere. |
Commit Details:
Full Hash: 844a17a3d9d2ec06912f505e8a1282f278a7ea8d
Parent Commit: 90e6127
Lines Changed: +71, -78
5 Modified Paths:
/source/blender/editors/transform/transform.c (+12, -17) (Diff)
/source/blender/editors/transform/transform.h (+18, -3) (Diff)
/source/blender/editors/transform/transform_constraints.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_generics.c (+23, -19) (Diff)
/source/blender/editors/transform/transform_snap.c (+10, -31) (Diff)
/source/blender/editors/transform/transform.h (+18, -3) (Diff)
/source/blender/editors/transform/transform_constraints.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_generics.c (+23, -19) (Diff)
/source/blender/editors/transform/transform_snap.c (+10, -31) (Diff)