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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py')
-rw-r--r--release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py b/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
index 67b540865d5..3bfdb05a2db 100644
--- a/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
+++ b/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
@@ -22,7 +22,6 @@
# Purpose : Draws the visible lines (chaining follows same nature lines)
# (most basic style module)
-from freestyle import Operators
from freestyle.chainingiterators import ChainSilhouetteIterator
from freestyle.functions import pyInverseCurvature2DAngleF0D
from freestyle.predicates import (
@@ -37,6 +36,8 @@ from freestyle.shaders import (
IncreasingColorShader,
TextureAssignerShader,
)
+from freestyle.types import Operators
+
Operators.select(QuantitativeInvisibilityUP1D(0))
Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0)))