Fix T78455: Failed assert when opening a viewport panel
authorJulian Eisel <julian@blender.org>
Tue, 30 Jun 2020 08:47:49 +0000 (10:47 +0200)
committerJulian Eisel <julian@blender.org>
Tue, 30 Jun 2020 08:47:49 +0000 (10:47 +0200)
Mistake from 1fa40c9f8a810.

source/blender/editors/interface/interface_layout.c

index 771e9383b8a1da3221e7f32d742dea66f8d9659d..188ff62d923db22f1dab62a741c85d7a6c3540a0 100644 (file)
@@ -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);