[Bf-extensions-cvs] [29c3d71] master: mesh extra tools: fix ui conflict with curve tools in addons_contrib
meta-androcto
noreply at git.blender.org
Sat Dec 17 14:41:29 CET 2016
Commit: 29c3d71c6aa67f223a8d4f0c565456940a1303f9
Author: meta-androcto
Date: Sun Dec 18 00:41:04 2016 +1100
Branches: master
https://developer.blender.org/rBAC29c3d71c6aa67f223a8d4f0c565456940a1303f9
mesh extra tools: fix ui conflict with curve tools in addons_contrib
===================================================================
M mesh_extra_tools/__init__.py
===================================================================
diff --git a/mesh_extra_tools/__init__.py b/mesh_extra_tools/__init__.py
index 07d980c..f0130c4 100644
--- a/mesh_extra_tools/__init__.py
+++ b/mesh_extra_tools/__init__.py
@@ -177,7 +177,7 @@ class EditToolsPanel(bpy.types.Panel):
VERTDROP = scene.UTVertDrop
EDGEDROP = scene.UTEdgeDrop
FACEDROP = scene.UTFaceDrop
- UTILSDROP = scene.UTUtilsDrop
+ UTILS1DROP = scene.UTUtils1Drop
view = context.space_data
toolsettings = context.tool_settings
layout = self.layout
@@ -263,12 +263,12 @@ class EditToolsPanel(bpy.types.Panel):
box1 = self.layout.box()
col = box1.column(align=True)
row = col.row(align=True)
- row.prop(scene, "UTUtilsDrop", icon="TRIA_DOWN")
+ row.prop(scene, "UTUtils1Drop", icon="TRIA_DOWN")
- if not UTILSDROP:
+ if not UTILS1DROP:
row.menu("mesh.utils specials", icon="SOLO_OFF", text="")
row.menu("VIEW3D_MT_Edit_MultiMET", icon="LOOPSEL", text="")
- if UTILSDROP:
+ if UTILS1DROP:
layout = self.layout
row = layout.row()
row.label(text="Utilities:")
@@ -566,7 +566,7 @@ def register():
name="Face",
default=False,
description="Face Tools")
- bpy.types.Scene.UTUtilsDrop = bpy.props.BoolProperty(
+ bpy.types.Scene.UTUtils1Drop = bpy.props.BoolProperty(
name="Utils",
default=False,
description="Misc Utils")
@@ -590,7 +590,7 @@ def unregister():
del bpy.types.Scene.UTVertDrop
del bpy.types.Scene.UTEdgeDrop
del bpy.types.Scene.UTFaceDrop
- del bpy.types.Scene.UTUtilsDrop
+ del bpy.types.Scene.UTUtils1Drop
wm = bpy.context.window_manager
bpy.utils.unregister_module(__name__)
More information about the Bf-extensions-cvs
mailing list