diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-01-14 05:49:25 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-01-14 05:49:25 +0300 |
commit | 442ff2c32281cadf5467fa68ec8d706e65fc4934 (patch) | |
tree | f1e95105fc27c6328cc193aa0a3e3fed48227646 | |
parent | 1f3dc315d542bcb831953b160e9a58a03ab2adf9 (diff) |
Bugfix for Transform Orientation Panel:
Removed a pair of uiPanelPush()/uiPanelPop() calls from the Transform Orientation panel, which were causing minor redraw/refresh problems for the panel's buttons here.
-rw-r--r-- | source/blender/src/drawview.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index b637118e38a..fd23761c82c 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -2275,9 +2275,7 @@ static void view3d_panel_transform_spaces(short cntrl) uiDefBut(block, BUT, B_TRANSFORMSPACECLEAR, "Clear", xco + 80,120,80,20, 0, 0, 0, 0, 0, "Removal all Transform Orientations"); uiBlockEndAlign(block); - - uiPanelPush(block); - + uiBlockBeginAlign(block); uiDefButS(block, ROW, REDRAWHEADERS, "Global", xco, 90, 40,20, &G.vd->twmode, 5.0, (float)V3D_MANIP_GLOBAL,0, 0, "Global Transform Orientation"); @@ -2298,8 +2296,6 @@ static void view3d_panel_transform_spaces(short cntrl) yco -= 25; } uiBlockEndAlign(block); - - uiPanelPop(block); if(yco < 0) uiNewPanelHeight(block, height-yco); } |