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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-12-30 18:43:47 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-01-28 18:34:01 +0400
commit0b228270338234cc46985b13aea839d48d483dba (patch)
tree27e8c52bd0e2270d1b3bc14dc30938294eea0a6b /release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py
parente84732858590eccf3eeea3be3178b95d652f4131 (diff)
Moved the Operators class from the 'freestyle' module to the 'freestyle.types' submodule.
Diffstat (limited to 'release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py')
-rw-r--r--release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py b/release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py
index c7b2d352e59..25c196d4919 100644
--- a/release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py
+++ b/release/scripts/freestyle/styles/thickness_fof_depth_discontinuity.py
@@ -21,7 +21,6 @@
# Date : 04/08/2005
# Purpose : Assigns to strokes a thickness that depends on the depth discontinuity
-from freestyle import Operators
from freestyle.chainingiterators import ChainSilhouetteIterator
from freestyle.predicates import (
NotUP1D,
@@ -34,6 +33,8 @@ from freestyle.shaders import (
SamplingShader,
pyDepthDiscontinuityThicknessShader,
)
+from freestyle.types import Operators
+
Operators.select(QuantitativeInvisibilityUP1D(0))
Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0)))