浏览代码

UI: fix layout of Mantis Preferences

Joseph Brandenburg 2 月之前
父节点
当前提交
a508f0361d
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      preferences.py

+ 5 - 1
preferences.py

@@ -77,7 +77,8 @@ class MantisPreferences(bpy.types.AddonPreferences):
         name = "Import Meta-Armatures into Collection",
         default = "MetaRigs",)
     ComponentsLibraryFolder:bpy.props.StringProperty(
-        name = "Widget Library Folder",
+        name = "Component Library Folder",
+        description = "Location of .rig files to place in the Add Armature menu.",
         subtype = 'FILE_PATH',
         default = os.path.join(dir_path, 'widgets'),)
     ImportComponents:bpy.props.BoolProperty(default=False)
@@ -86,5 +87,8 @@ class MantisPreferences(bpy.types.AddonPreferences):
         layout = self.layout
         layout.label(text="Mantis Preferences")
         layout.prop(self, "WidgetsLibraryFolder", icon='FILE_FOLDER')
+        layout.prop(self, "WidgetDefaultCollection")
         layout.prop(self, "ComponentsLibraryFolder", icon='FILE_FOLDER')
+        layout.prop(self, "CurveDefaultCollection")
+        layout.prop(self, "MetaArmatureDefaultCollection")
         layout.prop(self, "ImportComponents")