diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-11 07:30:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-11 07:32:14 +0300 |
commit | 219dba8506ffca7b5cc4ba0a849f9c3a9394334e (patch) | |
tree | 7fca33a08cb84600b5631bfbea1c3dbec8c19f9a /source/blender/editors/interface/interface_handlers.c | |
parent | 392a8e2907ee1c08813258c1a477bbea060ba06d (diff) |
Workaround T83651: Crash dragging multiple buttons in the clip editor
Avoid the crash, dragging multiple buttons still needs fixing.
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index f914ccd7497..bcb79743b12 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -1349,6 +1349,9 @@ static void ui_multibut_states_apply(bContext *C, uiHandleButtonData *data, uiBl if (mbut_state == NULL) { /* Highly unlikely. */ printf("%s: Can't find button\n", __func__); + /* While this avoids crashing, multi-button dragging will fail, + * which is still a bug from the user perspective. See T83651. */ + continue; } void *active_back; |