Commit: 4176adaf96385bf81e333677fbcb681ca1a79df7
Author: Julian Eisel
Date:   Tue Jun 30 10:47:49 2020 +0200
Branches: master
https://developer.blender.org/rB4176adaf96385bf81e333677fbcb681ca1a79df7

Fix T78455: Failed assert when opening a viewport panel

Mistake from 1fa40c9f8a810.

===================================================================

M       source/blender/editors/interface/interface_layout.c

===================================================================

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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to