diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-07-09 06:45:48 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-07-09 06:45:48 +0400 |
commit | d7a333f83fcaa33a73304c8bbff7c0809ada9aa0 (patch) | |
tree | db2295e409d08f18b9f01f14bacb3108e6d433bc /source/blender/editors/include/ED_transform.h | |
parent | b0038be275b24253989dbfd19c2543c770849653 (diff) |
Hooking transform operators with manipulator.
It's just a straight application of the normal operator for now, none of the normal manipulator goodies yet (no draw code and you have to click to confirm).
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index 9327301336f..adcf2cfc024 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -87,7 +87,7 @@ enum { /* Standalone call to get the transformation center corresponding to the current situation * returns 1 if successful, 0 otherwise (usually means there's no selection) - * (if 0 is returns, *vec is unmodified) + * (if 0 is returns, *vec is unmodified) * */ int calculateTransformCenter(struct bContext *C, struct wmEvent *event, int centerMode, float *vec); @@ -128,7 +128,7 @@ void BIF_selectOrientation(void); void initManipulator(int mode); void ManipulatorTransform(); -int BIF_do_manipulator(struct bContext *C, short mval[2]); +int BIF_do_manipulator(struct bContext *C, struct wmEvent *event, struct wmOperator *op); void BIF_draw_manipulator(const struct bContext *C); /* Snapping */ @@ -137,7 +137,7 @@ void BIF_draw_manipulator(const struct bContext *C); typedef struct DepthPeel { struct DepthPeel *next, *prev; - + float depth; float p[3]; float no[3]; |