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:
Diffstat (limited to 'curve_tools/intersections.py')
-rw-r--r--curve_tools/intersections.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/curve_tools/intersections.py b/curve_tools/intersections.py
index 77f19861..f0b8e96f 100644
--- a/curve_tools/intersections.py
+++ b/curve_tools/intersections.py
@@ -29,7 +29,7 @@ class BezierSegmentsIntersector:
if algorithm == '3D':
return self.CalcFirstRealIntersection3D(nrSamples1, nrSamples2)
- if algorithm == 'From View':
+ if algorithm == 'From_View':
global algoDIR
if algoDIR is not None:
return self.CalcFirstRealIntersectionFromViewDIR(nrSamples1, nrSamples2)
@@ -309,7 +309,7 @@ class BezierSegmentsIntersector:
if algorithm == '3D':
return self.CalcIntersections3D(nrSamples1, nrSamples2)
- if algorithm == 'From View':
+ if algorithm == 'From_View':
global algoDIR
if algoDIR is not None:
return self.CalcIntersectionsFromViewDIR(nrSamples1, nrSamples2)
@@ -527,7 +527,7 @@ class CurvesIntersector:
global algoDIR
algo = bpy.context.scene.curvetools.IntersectCurvesAlgorithm
- if algo == 'From View':
+ if algo == 'From_View':
regionView3D = util.GetFirstRegionView3D()
if regionView3D is None:
print("### ERROR: regionView3D is None. Stopping.")