diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-06-28 19:57:54 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-06-28 19:57:54 +0400 |
commit | cdb07720edff0513f52040b29325f1f7b3ff67f4 (patch) | |
tree | 479fc4b392c81e4be9c0c85e73617d3f4ba33849 /source/blender/src/header_view3d.c | |
parent | 85bbc4c3e20d828f31b96cc0c146e1d9c0aa3f4d (diff) |
Code cleanup's done by bedraw
This is patch #6886
https://projects.blender.org/tracker/index.php?func=detail&aid=6886&group_id=9&atid=127
removes some unused define's and some code that is no longer used and fixes some
formatting issues.
Kent
Diffstat (limited to 'source/blender/src/header_view3d.c')
-rw-r--r-- | source/blender/src/header_view3d.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/source/blender/src/header_view3d.c b/source/blender/src/header_view3d.c index 92743035707..0700f297f7d 100644 --- a/source/blender/src/header_view3d.c +++ b/source/blender/src/header_view3d.c @@ -153,8 +153,6 @@ #define TEST_EDITMESH if(G.obedit==0) return; \ if( (G.vd->lay & G.obedit->lay)==0 ) return; -static int viewmovetemp = 0; - void do_layer_buttons(short event) { static int oldlay= 1; @@ -4750,18 +4748,7 @@ void do_view3d_buttons(short event) if (select_area(SPACE_VIEW3D)) { start_game(); } - break; - case B_VIEWZOOM: - viewmovetemp= 0; - viewmove(2); - scrarea_queue_headredraw(curarea); - break; - case B_VIEWTRANS: - viewmovetemp= 0; - viewmove(1); - scrarea_queue_headredraw(curarea); - break; - + break; case B_MODESELECT: if (G.vd->modeselect == V3D_OBJECTMODE_SEL) { |