[Bf-extensions-cvs] [d674b04a] master: Fix simplify curves not working correctly in multi object edit mode
Michael Soluyanov
noreply at git.blender.org
Mon Mar 9 18:49:24 CET 2020
Commit: d674b04ac05dc656b58f678949c8aa83c41c96f4
Author: Michael Soluyanov
Date: Mon Mar 9 18:48:26 2020 +0100
Branches: master
https://developer.blender.org/rBAd674b04ac05dc656b58f678949c8aa83c41c96f4
Fix simplify curves not working correctly in multi object edit mode
Differential Revision: https://developer.blender.org/D7056
===================================================================
M curve_simplify.py
===================================================================
diff --git a/curve_simplify.py b/curve_simplify.py
index 0455de0e..0109530a 100644
--- a/curve_simplify.py
+++ b/curve_simplify.py
@@ -596,10 +596,10 @@ def main_rd(context, distance = 0.01):
if bpy.ops.object.mode_set.poll():
bpy.ops.object.mode_set(mode='EDIT')
- for curve in selected_Curves:
- bezier_dellist = []
- dellist = []
+ bezier_dellist = []
+ dellist = []
+ for curve in selected_Curves:
for spline in curve.data.splines:
if spline.type == 'BEZIER':
if len(spline.bezier_points) > 1:
More information about the Bf-extensions-cvs
mailing list