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/stroke_texture.py')
-rw-r--r--release/scripts/freestyle/styles/stroke_texture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/stroke_texture.py b/release/scripts/freestyle/styles/stroke_texture.py
index 046b7c18696..614c34a6654 100644
--- a/release/scripts/freestyle/styles/stroke_texture.py
+++ b/release/scripts/freestyle/styles/stroke_texture.py
@@ -21,8 +21,6 @@
# Date : 04/08/2005
# Purpose : Draws textured strokes (illustrate the StrokeTextureShader shader)
-from freestyle import Operators
-from freestyle.types import Stroke
from freestyle.chainingiterators import ChainSilhouetteIterator
from freestyle.predicates import (
NotUP1D,
@@ -36,6 +34,8 @@ from freestyle.shaders import (
SamplingShader,
StrokeTextureShader,
)
+from freestyle.types import Operators, Stroke
+
Operators.select(QuantitativeInvisibilityUP1D(0))
Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0)))