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>2007-12-26 06:06:59 +0300
committerMartin Poirier <theeth@yahoo.com>2007-12-26 06:06:59 +0300
commitb0b3a69c19fd60e6c48a877b22cab0ba48882c20 (patch)
treee4f152fae09977ebc1cf8bc896a35e296c3f3841 /source/blender/include/transform.h
parent6e812d5901bac112de3168ec530c42681216f6ec (diff)
== Transform: Warp ==
Adding special hotkey (MMB) to reverse the direction of the warp. Normal input is 0..360 mapped to the horizontal position of the mouse on the 3D view (the 3D view becomes a sort of giant horizontal slider), pressing MMB reverses the value to 0..-360 and back if you press it again. I've used MMB mostly because it's unused in Warp, easily accessible and already used to switches mode for Shear (shear x/y). Indirectly suggested by a user question on ba.
Diffstat (limited to 'source/blender/include/transform.h')
-rw-r--r--source/blender/include/transform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/transform.h b/source/blender/include/transform.h
index b2a3913465f..58cbd5c8755 100644
--- a/source/blender/include/transform.h
+++ b/source/blender/include/transform.h
@@ -303,6 +303,7 @@ void convertVecToDisplayNum(float *vec, float *num);
void convertDisplayNumToVec(float *num, float *vec);
void initWarp(TransInfo *t);
+int handleEventWarp(TransInfo *t, unsigned short event, short val);
int Warp(TransInfo *t, short mval[2]);
void initShear(TransInfo *t);