diff options
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r-- | source/blender/editors/transform/transform.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index d777b034e76..8101833a609 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -503,8 +503,14 @@ typedef struct TransInfo { /*************** NEW STUFF *********************/ short launch_event; /* event type used to launch transform */ - short current_orientation; - TransformOrientation *custom_orientation; /* this gets used when current_orientation is V3D_MANIP_CUSTOM */ + /* Always: 'orientation_types[orientation_index]' */ + struct { + short user; + short index; + short types[3]; + /* this gets used when current_orientation is V3D_MANIP_CUSTOM */ + TransformOrientation *custom; + } orientation; short gizmo_flag; /* backup from view3d, to restore on end */ short prop_mode; |