diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-19 15:21:01 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-19 15:21:01 +0400 |
commit | e700b795871cae4bc8bf5129dbe72b5a33784564 (patch) | |
tree | 319c0fd03c1556c6f4155f902c29bdcf55640bb8 /source/blender/src/transform.c | |
parent | 5f22838822b6cadc549380ca6ed74f4f9f9e489f (diff) |
Removed last remainder of old transform. The function is still called
special_aftertrans_update() though...
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index e114d13bbf4..62ae855b757 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -566,21 +566,10 @@ void Transform() /* free data, reset vars */ postTrans(&Trans); - - /* mess from old transform, just for now (ton) */ - { - char cmode='g'; - - if(Trans.mode==TFM_RESIZE) cmode= 's'; - else if(Trans.mode==TFM_ROTATION) cmode= 'r'; - - /* aftertrans does insert ipos and action channels */ - special_aftertrans_update(cmode, 0, (short)(Trans.state == TRANS_CANCEL)); - - if(G.obedit==NULL && G.obpose==NULL) - clear_trans_object_base_flags(); - } - + + /* aftertrans does insert ipos and action channels, and clears base flags */ + special_aftertrans_update((short)(Trans.state == TRANS_CANCEL)); + /* send events out for redraws */ allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWBUTSOBJECT, 0); @@ -731,19 +720,8 @@ void ManipulatorTransform() /* free data, reset vars */ postTrans(&Trans); - /* mess from old transform, just for now (ton) */ - { - char cmode='g'; - - if(Trans.mode==TFM_RESIZE) cmode= 's'; - else if(Trans.mode==TFM_ROTATION) cmode= 'r'; - /* aftertrans does displists, ipos and action channels */ - /* 7 = keyflags, meaning do loc/rot/scale ipos. Not sure if I like the old method to detect what changed (ton) */ - special_aftertrans_update(cmode, 0, (short)(Trans.state == TRANS_CANCEL)); - - if(G.obedit==NULL && G.obpose==NULL) - clear_trans_object_base_flags(); - } + /* aftertrans does insert ipos and action channels, and clears base flags */ + special_aftertrans_update((short)(Trans.state == TRANS_CANCEL)); /* send events out for redraws */ allqueue(REDRAWVIEW3D, 0); |