diff options
Diffstat (limited to 'release/scripts/freestyle/styles/apriori_and_causal_density.py')
-rw-r--r-- | release/scripts/freestyle/styles/apriori_and_causal_density.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/freestyle/styles/apriori_and_causal_density.py b/release/scripts/freestyle/styles/apriori_and_causal_density.py index 42fc3370488..d19a1cda0bc 100644 --- a/release/scripts/freestyle/styles/apriori_and_causal_density.py +++ b/release/scripts/freestyle/styles/apriori_and_causal_density.py @@ -31,11 +31,11 @@ from freestyle.predicates import ( TrueBP1D, pyDensityUP1D, pyHighViewMapDensityUP1D, - ) +) from freestyle.shaders import ( ConstantColorShader, ConstantThicknessShader, - ) +) from freestyle.types import IntegrationType, Operators upred = AndUP1D(QuantitativeInvisibilityUP1D(0), pyHighViewMapDensityUP1D(0.3, IntegrationType.LAST)) @@ -45,5 +45,5 @@ Operators.bidirectional_chain(ChainPredicateIterator(upred, bpred), NotUP1D(Quan shaders_list = [ ConstantThicknessShader(2), ConstantColorShader(0, 0, 0, 1), - ] +] Operators.create(pyDensityUP1D(1, 0.1, IntegrationType.MEAN), shaders_list) |