diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-06 22:51:58 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-06 22:51:58 +0400 |
commit | 28a1f55ff6cb6fb5ad37a6959899171e25ce537e (patch) | |
tree | bc4667acec3fa994b114efd3bf1d4e2ef16b5524 /source/blender/src/interface.c | |
parent | 66dc186fb6f6fd4d95b429fba6d31c764000bde0 (diff) |
- added copy button to modifier stack UI
- add warning about applying decimation
- some more UI tweaks (rounding of modifier pane, make toggles only in header,
add object name to try to convey that modifier stack is tied to OB)
- bug fix, modifier recalc wasn't done on make link
- bug fix, uiBlockEndAlign didn't clear align flags with certain themes,
pretty sure this wasn't intended. (TON: PLEASE CHECK)
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r-- | source/blender/src/interface.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index e47bd98387f..787ac847523 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -4337,7 +4337,10 @@ void uiBlockEndAlign(uiBlock *block) uiBut *prev, *but=NULL, *next; int flag= 0, cols=0, rows=0; - if ( !((BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 1) || (BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 2))) return; + if ( !((BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 1) || (BIF_GetThemeValue(TH_BUT_DRAWTYPE) == 2))) { + block->flag &= ~UI_BUT_ALIGN; // all 4 flags + return; + } /* auto align: - go back to first button of align start (ALIGN_DOWN) |