Skip to content
Snippets Groups Projects
Commit c3ced449 authored by Spivak Vladimir (cwolf3d)'s avatar Spivak Vladimir (cwolf3d)
Browse files

Addon: Curve Tools: Fixed some errors.

parent b6751d4d
Branches
Tags
No related merge requests found
......@@ -25,7 +25,7 @@ bl_info = {
"name": "Curve Tools",
"description": "Adds some functionality for bezier/nurbs curve/surface modeling",
"author": "Mackraken",
"version": (0, 4, 0),
"version": (0, 4, 1),
"blender": (2, 80, 0),
"location": "View3D > Tool Shelf > Edit Tab",
"warning": "WIP",
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment