From 219dba8506ffca7b5cc4ba0a849f9c3a9394334e Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 11 Dec 2020 15:30:30 +1100 Subject: Workaround T83651: Crash dragging multiple buttons in the clip editor Avoid the crash, dragging multiple buttons still needs fixing. --- source/blender/editors/interface/interface_handlers.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3