Blender Git Loki
Git Commits -> Revision c2508b0
Revision c2508b0 by Campbell Barton (master) February 1, 2016, 04:23 (GMT) |
Fix transform crash in rare cases In some cases transform modes would use the custom-data pointer, other times the transform conversion functions would. However with some combinations (bone mirror + bend for eg), both conversion & transform mode would use this pointer causing a crash. Fix this by having 2 custom-data pointers: one for the mode, another for the data-type. This also simplifies time-slide which was conditionally mixing mode/type data in the one array. |
Commit Details:
Full Hash: c2508b0aaf38a511eb419e340b3aa8a6f981a8c4
Parent Commit: 17429dc
Lines Changed: +160, -151
5 Modified Paths:
/source/blender/editors/transform/transform.c (+74, -47) (Diff)
/source/blender/editors/transform/transform.h (+24, -5) (Diff)
/source/blender/editors/transform/transform_conversions.c (+44, -87) (Diff)
/source/blender/editors/transform/transform_generics.c (+17, -11) (Diff)
/source/blender/editors/transform/transform_snap.c (+1, -1) (Diff)
/source/blender/editors/transform/transform.h (+24, -5) (Diff)
/source/blender/editors/transform/transform_conversions.c (+44, -87) (Diff)
/source/blender/editors/transform/transform_generics.c (+17, -11) (Diff)
/source/blender/editors/transform/transform_snap.c (+1, -1) (Diff)