[Bf-blender-cvs] [f4636b0965e] modifier-panels-ui: Add list subpanel to UI

Hans Goudey noreply at git.blender.org
Sun Apr 19 07:45:21 CEST 2020


Commit: f4636b0965e3c358fdc08ad22b7e010f7d9c7047
Author: Hans Goudey
Date:   Sun Apr 19 00:41:16 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rBf4636b0965e3c358fdc08ad22b7e010f7d9c7047

Add list subpanel to UI

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

M	source/blender/makesrna/intern/rna_ui.c

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

diff --git a/source/blender/makesrna/intern/rna_ui.c b/source/blender/makesrna/intern/rna_ui.c
index e1567f5b041..46017bd6ab5 100644
--- a/source/blender/makesrna/intern/rna_ui.c
+++ b/source/blender/makesrna/intern/rna_ui.c
@@ -1296,6 +1296,11 @@ static void rna_def_panel(BlenderRNA *brna)
        0,
        "List Panel Start",
        "The panel with this type marks the start of a list panel sequence"},
+      {PNL_LIST_SUBPANEL,
+       "LIST_SUBPANEL",
+       0,
+       "List Panel Child",
+       "A panel with this type is a child of a list panel"},
       {0, NULL, 0, NULL, NULL},
   };



More information about the Bf-blender-cvs mailing list