[Bf-extensions-cvs] [02c97dd8] master: Simplify Curves+: Two main function in one file fixed
Spivak Vladimir cwolf3d
noreply at git.blender.org
Tue Jun 25 00:05:24 CEST 2019
Commit: 02c97dd8aa5428ad86d9c4d7953133ac40b8bd20
Author: Spivak Vladimir (cwolf3d)
Date: Tue Jun 25 01:04:15 2019 +0300
Branches: master
https://developer.blender.org/rBA02c97dd8aa5428ad86d9c4d7953133ac40b8bd20
Simplify Curves+: Two main function in one file fixed
===================================================================
M curve_simplify.py
===================================================================
diff --git a/curve_simplify.py b/curve_simplify.py
index 0bcd2334..4b45f9c1 100644
--- a/curve_simplify.py
+++ b/curve_simplify.py
@@ -588,7 +588,7 @@ class CURVE_OT_simplify(Operator):
## Initial use Curve Remove Doubles ##
-def main(context, distance = 0.01):
+def main_rd(context, distance = 0.01):
obj = context.active_object
dellist = []
@@ -659,7 +659,7 @@ class Curve_OT_CurveRemvDbs(bpy.types.Operator):
return (obj and obj.type == 'CURVE')
def execute(self, context):
- removed=main(context, self.distance)
+ removed=main_rd(context, self.distance)
self.report({'INFO'}, "Removed %d bezier points" % removed)
return {'FINISHED'}
More information about the Bf-extensions-cvs
mailing list