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/qi1.py')
-rw-r--r--release/scripts/freestyle/styles/qi1.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/freestyle/styles/qi1.py b/release/scripts/freestyle/styles/qi1.py
index cae086cd73e..d70e56d401a 100644
--- a/release/scripts/freestyle/styles/qi1.py
+++ b/release/scripts/freestyle/styles/qi1.py
@@ -23,7 +23,6 @@
# *** Quantitative Invisibility must have been
# enabled in the options dialog to use this style module ****
-from freestyle import Operators
from freestyle.chainingiterators import ChainSilhouetteIterator
from freestyle.predicates import (
NotUP1D,
@@ -35,6 +34,8 @@ from freestyle.shaders import (
ConstantThicknessShader,
SamplingShader,
)
+from freestyle.types import Operators
+
Operators.select(QuantitativeInvisibilityUP1D(1))
Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(1)))