diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2005-06-05 20:40:48 +0400 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2005-06-05 20:40:48 +0400 |
commit | 6d823636b8e970e8dbad2781081c6d2c44f7197e (patch) | |
tree | f893905fabaa9ee31b3d697d6bc97cb74fcced33 | |
parent | 1dd02d4cf96a3dc124505e3761de020ba0207642 (diff) |
Bug fix: #2256
Sliders (and potentially other buttons) with no retval were not breaking the ui_do_block() loop, which caused events to propagate to other panels!
(The effect could also be seen by dragging from AO sliders into the
World name textbox.)
-rw-r--r-- | source/blender/src/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 4486f5d9ab0..9e2af1e2e55 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -3468,7 +3468,7 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent) if( (block->flag & UI_BLOCK_LOOP) && but->type==BLOCK); else - if(/*but->func ||*/ butevent) retval= UI_RETURN_OK; + retval= UI_RETURN_OK; /* event handled, so return */ } } } |