diff options
author | Martin Poirier <theeth@yahoo.com> | 2007-03-18 21:21:24 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2007-03-18 21:21:24 +0300 |
commit | 5297123de1b0e64788a0c21d102f21296a392ec4 (patch) | |
tree | d93d86bbb4ca808d722abf490f02d2c0f0ce816e /source/blender/include | |
parent | 31f79cf5b4fd622fbf345d8da2159f825490b849 (diff) |
=== View Orbit Around Active ===
Changed to Orbit around Selection, using transform code to calculate the selection center (using Median center method).
Diffstat (limited to 'source/blender/include')
-rwxr-xr-x | source/blender/include/BIF_transform.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h index e67789e9b23..6d1b4e32658 100755 --- a/source/blender/include/BIF_transform.h +++ b/source/blender/include/BIF_transform.h @@ -37,6 +37,7 @@ /* MODE AND NUMINPUT FLAGS */ #define TFM_INIT -1 +#define TFM_DUMMY 0 #define TFM_TRANSLATION 1 #define TFM_ROTATION 2 #define TFM_RESIZE 3 @@ -66,6 +67,9 @@ void initTransform(int mode, int context); void Transform(void); void Mirror(short mode); +/* Standalone call to get the transformation center corresponding to the current situation */ +void calculateTransformCenter(int centerMode, float *vec); + struct TransInfo; struct ScrArea; |