diff options
Diffstat (limited to 'release/scripts/freestyle/styles/near_lines.py')
-rw-r--r-- | release/scripts/freestyle/styles/near_lines.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/near_lines.py b/release/scripts/freestyle/styles/near_lines.py index 3ae2e093041..b91eaea4023 100644 --- a/release/scripts/freestyle/styles/near_lines.py +++ b/release/scripts/freestyle/styles/near_lines.py @@ -22,8 +22,6 @@ # Purpose : Draws the lines that are "closer" than a threshold # (between 0 and 1) -from freestyle import Operators -from freestyle.types import IntegrationType from freestyle.chainingiterators import ChainSilhouetteIterator from freestyle.predicates import ( AndUP1D, @@ -37,6 +35,8 @@ from freestyle.shaders import ( ConstantThicknessShader, TextureAssignerShader, ) +from freestyle.types import IntegrationType, Operators + upred = AndUP1D(QuantitativeInvisibilityUP1D(0), pyZSmallerUP1D(0.5, IntegrationType.MEAN)) Operators.select(upred) |