Blender Git Loki
Git Commits -> Revision e3c12bb
Revision e3c12bb by Julian Eisel (temp-tab_drag_drop, temp-workspace-multi-window, topbar, workspaces) January 5, 2017, 15:43 (GMT) |
Fix glitch when removing custom transform orientations Scenes aren't stored within screens anymore, meaning we can't associate a 3D View in an inactive workspace/screen with a scene. This again means we can't identify the active transform orientation of a 3D View by its index (it might belong to a different scene) to unset it correctly when removing it. We now additionally store a pointer in the 3D View to the active custom orientation data to identify it. |
Commit Details:
Full Hash: e3c12bb139250b7573bd8a2fd13d564d9424c4c8
Parent Commit: 7f173ae
Lines Changed: +105, -71
15 Modified Paths:
/source/blender/blenkernel/BKE_screen.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_workspace.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+5, -12) (Diff)
/source/blender/blenkernel/intern/workspace.c (+14, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+33, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -0) (Diff)
/source/blender/editors/include/ED_transform.h (+0, -1) (Diff)
/source/blender/editors/transform/transform.h (+1, -1) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_ops.c (+4, -11) (Diff)
/source/blender/editors/transform/transform_orientations.c (+22, -29) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+9, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -9) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -1) (Diff)
/source/blender/blenkernel/BKE_workspace.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+5, -12) (Diff)
/source/blender/blenkernel/intern/workspace.c (+14, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+33, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+4, -0) (Diff)
/source/blender/editors/include/ED_transform.h (+0, -1) (Diff)
/source/blender/editors/transform/transform.h (+1, -1) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+1, -1) (Diff)
/source/blender/editors/transform/transform_ops.c (+4, -11) (Diff)
/source/blender/editors/transform/transform_orientations.c (+22, -29) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+9, -1) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -9) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -1) (Diff)