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/invisible_lines.py')
-rw-r--r--release/scripts/freestyle/styles/invisible_lines.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/freestyle/styles/invisible_lines.py b/release/scripts/freestyle/styles/invisible_lines.py
index fd038b6f715..461429b6437 100644
--- a/release/scripts/freestyle/styles/invisible_lines.py
+++ b/release/scripts/freestyle/styles/invisible_lines.py
@@ -22,7 +22,6 @@
# Purpose : Draws all lines whose Quantitative Invisibility
# is different from 0
-from freestyle import Operators
from freestyle.chainingiterators import ChainSilhouetteIterator
from freestyle.predicates import (
NotUP1D,
@@ -34,6 +33,8 @@ from freestyle.shaders import (
ConstantThicknessShader,
SamplingShader,
)
+from freestyle.types import Operators
+
upred = NotUP1D(QuantitativeInvisibilityUP1D(0))
Operators.select(upred)