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/apriori_density.py | |
parent | e84732858590eccf3eeea3be3178b95d652f4131 (diff) |
Moved the Operators class from the 'freestyle' module to the 'freestyle.types' submodule.
Diffstat (limited to 'release/scripts/freestyle/styles/apriori_density.py')
-rw-r--r-- | release/scripts/freestyle/styles/apriori_density.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/freestyle/styles/apriori_density.py b/release/scripts/freestyle/styles/apriori_density.py index a247f5f6bac..22f924d8e98 100644 --- a/release/scripts/freestyle/styles/apriori_density.py +++ b/release/scripts/freestyle/styles/apriori_density.py @@ -21,7 +21,6 @@ # Date : 04/08/2005 # Purpose : Draws lines having a high a priori density -from freestyle import Operators from freestyle.chainingiterators import ChainPredicateIterator from freestyle.predicates import ( AndUP1D, @@ -35,6 +34,8 @@ from freestyle.shaders import ( ConstantColorShader, ConstantThicknessShader, ) +from freestyle.types import Operators + Operators.select(AndUP1D(QuantitativeInvisibilityUP1D(0), pyHighViewMapDensityUP1D(0.1,5))) bpred = TrueBP1D() |