diff options
Diffstat (limited to 'release/scripts/freestyle/styles/cartoon.py')
-rw-r--r-- | release/scripts/freestyle/styles/cartoon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/freestyle/styles/cartoon.py b/release/scripts/freestyle/styles/cartoon.py index 4118b4e1552..2e2962cefe5 100644 --- a/release/scripts/freestyle/styles/cartoon.py +++ b/release/scripts/freestyle/styles/cartoon.py @@ -23,7 +23,6 @@ # infered from each object's material in a cartoon-like # fashion. -from freestyle import Operators from freestyle.chainingiterators import ChainSilhouetteIterator from freestyle.predicates import ( NotUP1D, @@ -35,6 +34,8 @@ from freestyle.shaders import ( ConstantThicknessShader, pyMaterialColorShader, ) +from freestyle.types import Operators + Operators.select(QuantitativeInvisibilityUP1D(0)) Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0))) |