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/nature.py | |
parent | e84732858590eccf3eeea3be3178b95d652f4131 (diff) |
Moved the Operators class from the 'freestyle' module to the 'freestyle.types' submodule.
Diffstat (limited to 'release/scripts/freestyle/styles/nature.py')
-rw-r--r-- | release/scripts/freestyle/styles/nature.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/freestyle/styles/nature.py b/release/scripts/freestyle/styles/nature.py index 35b57399942..74a42e6b2e5 100644 --- a/release/scripts/freestyle/styles/nature.py +++ b/release/scripts/freestyle/styles/nature.py @@ -25,8 +25,6 @@ # The suggestive contours must have been enabled in the # options dialog to appear in the View Map. -from freestyle import Operators -from freestyle.types import Nature from freestyle.chainingiterators import ChainSilhouetteIterator from freestyle.predicates import ( NotUP1D, @@ -37,6 +35,8 @@ from freestyle.shaders import ( IncreasingColorShader, IncreasingThicknessShader, ) +from freestyle.types import Operators, Nature + Operators.select(pyNatureUP1D(Nature.SILHOUETTE)) Operators.bidirectional_chain(ChainSilhouetteIterator(), NotUP1D(pyNatureUP1D(Nature.SILHOUETTE))) |