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/suggestive.py')
-rw-r--r--release/scripts/freestyle/styles/suggestive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/suggestive.py b/release/scripts/freestyle/styles/suggestive.py
index e6559b28294..8a97cc0139b 100644
--- a/release/scripts/freestyle/styles/suggestive.py
+++ b/release/scripts/freestyle/styles/suggestive.py
@@ -23,8 +23,6 @@
# ***** The suggestive contours must be enabled
# in the options dialog *****
-from freestyle import Operators
-from freestyle.types import Nature
from freestyle.chainingiterators import ChainSilhouetteIterator
from freestyle.predicates import (
AndUP1D,
@@ -37,6 +35,8 @@ from freestyle.shaders import (
ConstantColorShader,
IncreasingThicknessShader,
)
+from freestyle.types import Nature, Operators
+
upred = AndUP1D(pyNatureUP1D(Nature.SUGGESTIVE_CONTOUR), QuantitativeInvisibilityUP1D(0))
Operators.select(upred)