Fix T78455: Failed assert when opening a viewport panel
Mistake from 1fa40c9f8a
.
This commit is contained in:
parent
55ae55af66
commit
4176adaf96
Notes:
blender-bot
2023-11-20 12:14:32 +01:00
Referenced by issue #78455, Failed assert in ui_paneltype_draw_impl while opening a viewport panel
|
@ -5576,7 +5576,7 @@ static void ui_paneltype_draw_impl(bContext *C, PanelType *pt, uiLayout *layout,
|
|||
panel->layout = layout;
|
||||
pt->draw(C, panel);
|
||||
panel->layout = NULL;
|
||||
BLI_assert(panel->runtime.custom_data_ptr = NULL);
|
||||
BLI_assert(panel->runtime.custom_data_ptr == NULL);
|
||||
|
||||
MEM_freeN(panel);
|
||||
|
||||
|
|
Loading…
Reference in New Issue