[Bf-blender-cvs] [23199693f99] modifier-panels-ui: Fix build error

Hans Goudey noreply at git.blender.org
Sun Apr 5 16:07:29 CEST 2020


Commit: 23199693f99a03a9678c20340696e497977b3d65
Author: Hans Goudey
Date:   Sun Apr 5 09:07:16 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rB23199693f99a03a9678c20340696e497977b3d65

Fix build error

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

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

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

diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index bca985dbcf4..b0c96dc191f 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -1481,7 +1481,7 @@ static void reorder_recreate_panel_list(bContext *C, ARegion *region, Panel *pan
     if (list_panel->type) {
       if ((strcmp(list_panel->type->context, context) == 0)) {
         if (list_panel->type->flag & PANELTYPE_RECREATE) {
-          sort_index->pa = MEM_dupallocN(list_panel);
+          sort_index->panel = MEM_dupallocN(list_panel);
           sort_index->orig = list_panel;
           sort_index++;
         }
@@ -2705,7 +2705,7 @@ static void panel_activate_state(const bContext *C, Panel *panel, uiHandlePanelS
 
   if (state == PANEL_STATE_EXIT) {
     if (data->is_drag_drop) {
-      reorder_recreate_panel_list(C, region, pa);
+      reorder_recreate_panel_list(C, region, panel);
     }
 
     MEM_freeN(data);



More information about the Bf-blender-cvs mailing list