diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2013-12-30 18:43:47 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-01-28 18:34:01 +0400 |
commit | 0b228270338234cc46985b13aea839d48d483dba (patch) | |
tree | 27e8c52bd0e2270d1b3bc14dc30938294eea0a6b /release/scripts/freestyle/styles/curvature2d.py | |
parent | e84732858590eccf3eeea3be3178b95d652f4131 (diff) |
Moved the Operators class from the 'freestyle' module to the 'freestyle.types' submodule.
Diffstat (limited to 'release/scripts/freestyle/styles/curvature2d.py')
-rw-r--r-- | release/scripts/freestyle/styles/curvature2d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/curvature2d.py b/release/scripts/freestyle/styles/curvature2d.py index 8f8292e663c..66c8a6c6544 100644 --- a/release/scripts/freestyle/styles/curvature2d.py +++ b/release/scripts/freestyle/styles/curvature2d.py @@ -22,8 +22,6 @@ # Purpose : The stroke points are colored in gray levels and depending # on the 2d curvature value -from freestyle import Operators -from freestyle.types import Stroke from freestyle.chainingiterators import ChainSilhouetteIterator from freestyle.predicates import ( NotUP1D, @@ -35,6 +33,8 @@ from freestyle.shaders import ( StrokeTextureShader, py2DCurvatureColorShader, ) +from freestyle.types import Operators, Stroke + Operators.select(QuantitativeInvisibilityUP1D(0)) Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(QuantitativeInvisibilityUP1D(0))) |