Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Pignataro <info@oscurart.com.ar>2017-12-13 18:29:08 +0300
committerEugenio Pignataro <info@oscurart.com.ar>2017-12-13 18:29:08 +0300
commit36190021e9293d647aeb5171dd16e668845199e6 (patch)
tree1356996fc44c7e17b63b8f8a4f603343dea4086d /oscurart_tools/__init__.py
parente6b81de7e1765aa62c56c46a724d67751f321111 (diff)
New Tool: multi mesh edit
Diffstat (limited to 'oscurart_tools/__init__.py')
-rw-r--r--oscurart_tools/__init__.py17
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"