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:
authorSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-10-30 12:55:32 +0300
committerSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-10-30 12:55:32 +0300
commitc3ced44917124c1f4f156a71728c12eda6101daa (patch)
treeea3df3a46bc126c4a59c7b98b4f2c7d444ad6f88 /curve_tools/operators.py
parentb6751d4d0390257a4352d449991407065cc29124 (diff)
Addon: Curve Tools: Fixed some errors.
Diffstat (limited to 'curve_tools/operators.py')
-rw-r--r--curve_tools/operators.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/curve_tools/operators.py b/curve_tools/operators.py
index 099b57bb..7e554483 100644
--- a/curve_tools/operators.py
+++ b/curve_tools/operators.py
@@ -1096,6 +1096,8 @@ class CurveBoolean(bpy.types.Operator):
bpy.ops.object.mode_set(mode = 'EDIT')
bpy.ops.curve.select_all(action='SELECT')
splines = internal.getSelectedSplines(True, True)
+ if len(splines) < 2:
+ continue
splineA = splines[0]
splineB = splines[1]
operation = self.operation