move a settings' location
This commit is contained in:
parent
0dc526535c
commit
5b2314dbf8
@ -32,13 +32,9 @@ class ExportBM(bpy.types.Operator, bpy_extras.io_utils.ExportHelper):
|
||||
name="Export target",
|
||||
description="Which one will be exported",
|
||||
)
|
||||
no_component_suffix: bpy.props.StringProperty(
|
||||
name="No component suffix",
|
||||
description="The object which have this suffix will not be saved as component.",
|
||||
)
|
||||
|
||||
def execute(self, context):
|
||||
export_bm(context, self.filepath, self.export_mode, self.export_target, self.no_component_suffix)
|
||||
export_bm(context, self.filepath, self.export_mode, self.export_target, "") #todo: fix no_component_suffix
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
@ -8,6 +8,11 @@ class BallanceBlenderPluginPreferences(bpy.types.AddonPreferences):
|
||||
description="The Ballance texture folder which will be used buy this plugin to get external texture.",
|
||||
)
|
||||
|
||||
no_component_collection: bpy.props.StringProperty(
|
||||
name="No component collection",
|
||||
description="(Import) The object which stored in this collectiion will not be saved as component. (Export) All forced no component objects will be stored in this collection",
|
||||
)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
@ -15,3 +20,4 @@ class BallanceBlenderPluginPreferences(bpy.types.AddonPreferences):
|
||||
col = row.column()
|
||||
|
||||
col.prop(self, "external_folder")
|
||||
col.prop(self, "no_component_collection")
|
Loading…
Reference in New Issue
Block a user