diff options
Diffstat (limited to 'oscurart_tools/__init__.py')
-rw-r--r-- | oscurart_tools/__init__.py | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/oscurart_tools/__init__.py b/oscurart_tools/__init__.py index 367e7475..de285c15 100644 --- a/oscurart_tools/__init__.py +++ b/oscurart_tools/__init__.py @@ -178,6 +178,7 @@ class OscPanelMesh(Panel): return context.scene.oscurart.osc_mesh_tools def draw(self, context): + scene = context.scene layout = self.layout col = layout.column(align=1) @@ -200,10 +201,15 @@ class OscPanelMesh(Panel): colrow.operator("mesh.uv_island_copy", icon="COPYDOWN") colrow.operator("mesh.uv_island_paste", icon="PASTEDOWN") colrow = col.row(align=1) - colrow.operator("view3d.modal_operator", icon="STICKY_UVS_DISABLE") + colrow.operator("view3d.modal_operator", icon="STICKY_UVS_DISABLE") colrow = col.row(align=1) colrow.operator("lattice.mirror_selected", icon="LATTICE_DATA") - + colrow = col.row(align=1) + colrow.label(text="Multimesh") + colrow.prop_search(scene, "multimeshedit", bpy.data, "groups", text="") + colrow = col.row(align=1) + colrow.operator("mesh.create_edit_multimesh", icon="IMPORT") + colrow.operator("mesh.apply_edit_multimesh", icon="EXPORT") class OscPanelShapes(Panel): bl_idname = "Oscurart Shapes Tools" @@ -225,8 +231,8 @@ class OscPanelShapes(Panel): col.operator("mesh.create_lmr_groups_osc", icon="GROUP_VERTEX") col.operator("mesh.split_lr_shapes_osc", icon="SHAPEKEY_DATA") colrow = col.row(align=1) - colrow.operator("mesh.create_symmetrical_layout_osc", icon="SETTINGS") - colrow.operator("mesh.create_asymmetrical_layout_osc", icon="SETTINGS") + colrow.operator("mesh.create_symmetrical_layout_osc", icon="IMPORT") + colrow.operator("mesh.create_asymmetrical_layout_osc", icon="EXPORT") class OscPanelRender(Panel): @@ -436,6 +442,7 @@ class OscurartToolsAddonPreferences(AddonPreferences): def register(): + from bpy.types import Scene bpy.utils.register_module(__name__) bpy.types.Scene.oscurart = PointerProperty(type=View3DOscPanel) @@ -445,6 +452,8 @@ def register(): bpy.types.Scene.quick_animation_in = IntProperty(default=1) bpy.types.Scene.quick_animation_out = IntProperty(default=250) + Scene.multimeshedit = StringProperty() + # SETEO VARIABLE DE ENTORNO bpy.types.Scene.SearchAndSelectOt = StringProperty( default="Object name initials" |