diff options
author | Elia Sarti <vekoon@gmail.com> | 2009-08-15 16:47:59 +0400 |
---|---|---|
committer | Elia Sarti <vekoon@gmail.com> | 2009-08-15 16:47:59 +0400 |
commit | de354d549de8c6ffb31588121da674c50d7c87c7 (patch) | |
tree | 217478a1c9b42338d52d3d06b7c38dc8d8b8e85e | |
parent | 13c3bdbf8bb6be3f76f17c07d950177839f26dab (diff) |
Fix for shift-selecting manipulator types. Now redraws correctly 3dview.
-rw-r--r-- | source/blender/editors/space_view3d/view3d_header.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c index d40b3ad4600..425cebf04cb 100644 --- a/source/blender/editors/space_view3d/view3d_header.c +++ b/source/blender/editors/space_view3d/view3d_header.c @@ -3697,20 +3697,20 @@ static void do_view3d_header_buttons(bContext *C, void *arg, int event) case B_MAN_TRANS: if( shift==0 || v3d->twtype==0) { v3d->twtype= V3D_MANIP_TRANSLATE; - ED_area_tag_redraw(sa); } - break; + ED_area_tag_redraw(sa); + break; case B_MAN_ROT: if( shift==0 || v3d->twtype==0) { - v3d->twtype= V3D_MANIP_ROTATE; - ED_area_tag_redraw(sa); + v3d->twtype= V3D_MANIP_ROTATE; } + ED_area_tag_redraw(sa); break; case B_MAN_SCALE: if( shift==0 || v3d->twtype==0) { - v3d->twtype= V3D_MANIP_SCALE; - ED_area_tag_redraw(sa); + v3d->twtype= V3D_MANIP_SCALE; } + ED_area_tag_redraw(sa); break; case B_NDOF: break; |