From 02c97dd8aa5428ad86d9c4d7953133ac40b8bd20 Mon Sep 17 00:00:00 2001 From: "Spivak Vladimir (cwolf3d)" <cwolf3d@gmail.com> Date: Tue, 25 Jun 2019 01:04:15 +0300 Subject: [PATCH] Simplify Curves+: Two main function in one file fixed --- curve_simplify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curve_simplify.py b/curve_simplify.py index 0bcd2334f..4b45f9c1b 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'} -- GitLab