Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Soluyanov <crantisz>2020-03-09 20:48:26 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-03-09 20:48:49 +0300
commitd674b04ac05dc656b58f678949c8aa83c41c96f4 (patch)
tree602353f9acfe7d6356927fe50d8c9d807f51be1e
parent5b0b0b3781d1831a06687f89e169150133181b06 (diff)
Fix simplify curves not working correctly in multi object edit mode
Differential Revision: https://developer.blender.org/D7056
-rw-r--r--curve_simplify.py6
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: