Workaround T83651: Crash dragging multiple buttons in the clip editor

Avoid the crash, dragging multiple buttons still needs fixing.
This commit is contained in:
Campbell Barton
2020-12-11 15:30:30 +11:00
parent 392a8e2907
commit 219dba8506

View File

@@ -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;