diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-03-28 01:25:15 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-03-28 01:25:15 +0400 |
commit | 05685e6ca7da4c74c93c84f343bc99dcf7bbb8c2 (patch) | |
tree | 27f192f34f78b40f8600b143fb2fcab461180747 /source/blender/src/toolbox.c | |
parent | 35aa81cd2cb3cc91a06295834ecc928f49dca490 (diff) |
Context parameter for Transform.
For tex space edit, crease (soon) and future use.
Manipulator assumes no context.
Diffstat (limited to 'source/blender/src/toolbox.c')
-rw-r--r-- | source/blender/src/toolbox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index fe0f1fbcba5..79bfeebbf67 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -1991,13 +1991,13 @@ static void tb_do_transform(void *arg, int event) switch(event) { case 0: /* Grab/move */ - Transform(TFM_TRANSLATION); + Transform(TFM_TRANSLATION, CTX_NONE); break; case 1: /* Rotate */ - Transform(TFM_ROTATION); + Transform(TFM_ROTATION, CTX_NONE); break; case 2: /* Scale */ - Transform(TFM_RESIZE); + Transform(TFM_RESIZE,CTX_NONE); break; case 3: /* transform properties */ add_blockhandler(curarea, VIEW3D_HANDLER_OBJECT, UI_PNL_UNSTOW); @@ -2009,7 +2009,7 @@ static void tb_do_transform(void *arg, int event) transform('N'); break; case 6: /* Shear */ - Transform(TFM_SHEAR); + Transform(TFM_SHEAR, CTX_NONE); break; case 7: /* Warp */ transform('w'); |