diff options
author | Michael Soluyanov <crantisz> | 2020-03-09 20:48:26 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-09 20:48:49 +0300 |
commit | d674b04ac05dc656b58f678949c8aa83c41c96f4 (patch) | |
tree | 602353f9acfe7d6356927fe50d8c9d807f51be1e | |
parent | 5b0b0b3781d1831a06687f89e169150133181b06 (diff) |
Fix simplify curves not working correctly in multi object edit mode
Differential Revision: https://developer.blender.org/D7056
-rw-r--r-- | curve_simplify.py | 6 |
1 files changed, 3 insertions, 3 deletions
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: |