diff options
author | Julian Eisel <julian@blender.org> | 2020-06-30 11:47:49 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-06-30 11:47:49 +0300 |
commit | 4176adaf96385bf81e333677fbcb681ca1a79df7 (patch) | |
tree | 5de84a3ce36e6c656c5867d9f353922adbda9860 /source | |
parent | 55ae55af6646514f54f1ea581b9d36b854dc6dd8 (diff) |
Fix T78455: Failed assert when opening a viewport panel
Mistake from 1fa40c9f8a810.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 771e9383b8a..188ff62d923 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -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); |