Added a modal for remove doubles
- made remove doubles a blender modal. this way the code can run over multiple frames. - Since remove doubles is async now, the user gets feedback on which shapekey and mesh is being worked on - this does not remove doubles correctly yet, but is very close to ready
This commit is contained in:
@@ -25,6 +25,7 @@ class AvatarToolkitOptimizationPanel(bpy.types.Panel):
|
||||
row.scale_y = 1.2
|
||||
row.operator("avatar_toolkit.join_all_meshes", text="Join All Meshes")
|
||||
row.operator("avatar_toolkit.join_selected_meshes", text="Join Selected Meshes")
|
||||
row.operator("avatar_toolkit.remove_doubles_safely", text="Remove Doubles Safely")
|
||||
|
||||
# Add optimization options here
|
||||
|
||||
|
||||
+3
-1
@@ -19,4 +19,6 @@ class AvatarToolkitToolsPanel(bpy.types.Panel):
|
||||
|
||||
row = layout.row(align=True)
|
||||
row.scale_y = 1.5
|
||||
row.operator("avatar_toolkit.convert_to_resonite", text="Translate to Resonite")
|
||||
row.operator("avatar_toolkit.convert_to_resonite", text="Translate to Resonite")
|
||||
row = layout.row(align=True)
|
||||
row.operator("avatar_toolkit.remove_doubles_safely", text="Remove Doubles Safely")
|
||||
Reference in New Issue
Block a user