Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2009-11-12 22:49:26 +0300
committerMartin Poirier <theeth@yahoo.com>2009-11-12 22:49:26 +0300
commitd0c1d182e92b69a892e7466a9dd4c549c41f7746 (patch)
treed91fba0a8e0fe25512ea945cdaaa85190c818637 /source/blender/editors/transform/transform.h
parent20681f49801fd4871f03cdcaaf6faed1717adc2a (diff)
Bug: [#19712] Manipulator widget missing functionality
With help from Patch [#19757] by Michael Jefferies. ------------- Also, following talks with Matt and Campbell, make pressing Ctrl in transform toggle snap/gears instead of having to hold it down. Important note: holding it down will no longer work correctly because of key repeats (it will toggle it constantly). It's possible to edit the modal keymap to bring back the old behavior (perhaps it should even be default).
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r--source/blender/editors/transform/transform.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h
index bba3ae44ebc..b8ef50507d3 100644
--- a/source/blender/editors/transform/transform.h
+++ b/source/blender/editors/transform/transform.h
@@ -291,6 +291,7 @@ typedef struct TransInfo {
void (*customFree)(struct TransInfo *); /* if a special free function is needed */
/*************** NEW STUFF *********************/
+ short launch_event; /* event type used to launch transform */
short current_orientation;
@@ -326,9 +327,10 @@ typedef struct TransInfo {
#define NDOF_INIT 1
/* transinfo->state */
-#define TRANS_RUNNING 0
-#define TRANS_CONFIRM 1
-#define TRANS_CANCEL 2
+#define TRANS_STARTING 0
+#define TRANS_RUNNING 1
+#define TRANS_CONFIRM 2
+#define TRANS_CANCEL 3
/* transinfo->flag */
#define T_OBJECT (1 << 0)