diff options
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r-- | source/blender/editors/interface/interface_templates.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 28c986f87cc..316525fa645 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -1940,13 +1940,6 @@ void uiTemplateModifiers(uiLayout *UNUSED(layout), bContext *C) panel = panel->next; } - - /* The expansion might have been changed elsewhere, so we still need to set it. */ - LISTBASE_FOREACH (Panel *, panel_iter, ®ion->panels) { - if ((panel_iter->type != NULL) && (panel_iter->type->flag & PNL_INSTANCED)) { - UI_panel_set_expand_from_list_data(C, panel_iter); - } - } } } @@ -2114,13 +2107,6 @@ void uiTemplateConstraints(uiLayout *UNUSED(layout), bContext *C, bool use_bone_ panel = panel->next; } - - /* The expansion might have been changed elsewhere, so we still need to set it. */ - LISTBASE_FOREACH (Panel *, panel_iter, ®ion->panels) { - if ((panel_iter->type != NULL) && (panel_iter->type->flag & PNL_INSTANCED)) { - UI_panel_set_expand_from_list_data(C, panel_iter); - } - } } } @@ -2195,13 +2181,6 @@ void uiTemplateGpencilModifiers(uiLayout *UNUSED(layout), bContext *C) panel = panel->next; } - - /* The expansion might have been changed elsewhere, so we still need to set it. */ - LISTBASE_FOREACH (Panel *, panel_iter, ®ion->panels) { - if ((panel_iter->type != NULL) && (panel_iter->type->flag & PNL_INSTANCED)) { - UI_panel_set_expand_from_list_data(C, panel_iter); - } - } } } @@ -2277,13 +2256,6 @@ void uiTemplateShaderFx(uiLayout *UNUSED(layout), bContext *C) panel = panel->next; } - - /* The expansion might have been changed elsewhere, so we still need to set it. */ - LISTBASE_FOREACH (Panel *, panel_iter, ®ion->panels) { - if ((panel_iter->type != NULL) && (panel_iter->type->flag & PNL_INSTANCED)) { - UI_panel_set_expand_from_list_data(C, panel_iter); - } - } } } |