[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3868] contrib/py/scripts/addons/ mesh_extra_tools: renaming operators for better readability
Brendon Murphy
meta.androcto1 at gmail.com
Fri Oct 19 06:53:24 CEST 2012
Revision: 3868
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3868
Author: meta-androcto
Date: 2012-10-19 04:53:21 +0000 (Fri, 19 Oct 2012)
Log Message:
-----------
renaming operators for better readability
Modified Paths:
--------------
contrib/py/scripts/addons/mesh_extra_tools/__init__.py
contrib/py/scripts/addons/mesh_extra_tools/mesh_filletplus.py
Modified: contrib/py/scripts/addons/mesh_extra_tools/__init__.py
===================================================================
--- contrib/py/scripts/addons/mesh_extra_tools/__init__.py 2012-10-18 10:13:20 UTC (rev 3867)
+++ contrib/py/scripts/addons/mesh_extra_tools/__init__.py 2012-10-19 04:53:21 UTC (rev 3868)
@@ -73,7 +73,7 @@
text="Face Inset Fillet")
layout.operator("mesh.mbevel",
text="Bevel Selected")
- layout.operator("f.op0_id",
+ layout.operator("fillet.op0_id",
text="Edge Fillet Plus")
layout.operator("normal.smooth",
text="Normal Smooth")
@@ -109,8 +109,8 @@
row.operator('mesh.mbevel', text = 'Bevel Selected')
row.operator('help.edge_bevel', text = '?')
row = layout.split(0.80)
- row.operator('f.op0_id', text = 'Edge Fillet plus')
- row.operator('f.op1_id', text = '?')
+ row.operator('fillet.op0_id', text = 'Edge Fillet plus')
+ row.operator('help.edge_fillet', text = '?')
row = layout.split(0.80)
row.operator('normal.smooth', text = 'Normal Smooth')
row.operator('help.normal_smooth', text = '?')
Modified: contrib/py/scripts/addons/mesh_extra_tools/mesh_filletplus.py
===================================================================
--- contrib/py/scripts/addons/mesh_extra_tools/mesh_filletplus.py 2012-10-18 10:13:20 UTC (rev 3867)
+++ contrib/py/scripts/addons/mesh_extra_tools/mesh_filletplus.py 2012-10-19 04:53:21 UTC (rev 3868)
@@ -245,8 +245,8 @@
row.operator('f.op1_id', text = '?')
'''
# ------ operator 0 ------
-class f_op0(bpy.types.Operator):
- bl_idname = 'f.op0_id'
+class fillet_op0(bpy.types.Operator):
+ bl_idname = 'fillet.op0_id'
bl_label = 'Fillet'
bl_description = 'Fillet ajoining edges'
bl_options = {'REGISTER', 'UNDO'}
@@ -337,8 +337,8 @@
return {'CANCELLED'}
# ------ operator 1 ------
-class f_op1(bpy.types.Operator):
- bl_idname = 'f.op1_id'
+class filletedgehelp(bpy.types.Operator):
+ bl_idname = 'help.edge_fillet'
bl_label = ''
def draw(self, context):
@@ -355,8 +355,8 @@
return context.window_manager.invoke_popup(self, width = 350)
# ------ operator 2 ------
-class f_op2(bpy.types.Operator):
- bl_idname = 'f.op2_id'
+class fillet_op2(bpy.types.Operator):
+ bl_idname = 'fillet.op2_id'
bl_label = ''
def execute(self, context):
More information about the Bf-extensions-cvs
mailing list