Skip to content

Commit 9d6a839

Browse files
committed
HotFix UI
1 parent 5aa8d94 commit 9d6a839

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

xxmi_scripts.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ class QuickImportSettings(bpy.types.PropertyGroup):
121121
default=False,
122122
description="Enable Merge by Distance"
123123
)#type: ignore
124+
flip_mesh: BoolProperty(
125+
name="Flip Mesh",
126+
default=True,
127+
description="Flips mesh over x-axis on import"
128+
) #type: ignore
124129
reset_rotation: BoolProperty(
125130
name="Reset Rotation (ZZZ)",
126131
default=False,
@@ -158,9 +163,9 @@ def update_create_mesh_collection(self, context):
158163
update=update_create_collection
159164
) #type: ignore
160165
create_mesh_collection: BoolProperty(
161-
name="Create Mesh Collection",
166+
name="Per Component Collection",
162167
default=False,
163-
description="Create a new collection for mesh data and custom properties",
168+
description="Create a new collection for mesh data and custom properties (Drawindexed Export)",
164169
update=update_create_mesh_collection
165170
) #type: ignore
166171
import_diffuse: BoolProperty(
@@ -247,8 +252,13 @@ def draw(self, context):
247252
icon='HIDE_OFF' if cfg.hide_advanced else 'HIDE_ON', toggle=True)
248253

249254
if cfg.hide_advanced:
250-
col.prop(cfg, "import_face", toggle=True)
251-
col.prop(cfg, "import_armature", toggle=True)
255+
col.separator()
256+
row = col.row()
257+
row.prop(cfg, "flip_mesh", toggle=True)
258+
col.separator()
259+
row = col.row()
260+
row.prop(cfg, "import_armature", toggle=True)
261+
row.prop(cfg, "import_face", toggle=True)
252262

253263
if cfg.import_textures:
254264
col.separator()

0 commit comments

Comments
 (0)