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:
authorAntonio Vazquez <blendergit@gmail.com>2022-04-25 11:11:55 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-04-25 11:11:55 +0300
commitd3b5ab37772aafd6892466a61eb75741f70189de (patch)
treefd5a4c1b0a76313ddee5b2a1fa93a7b6f618cd85 /release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
parent99dfc769f32a53c118692451d38d534bed697e88 (diff)
parent416ef3b6b2d21a2eb7a24183ab67c8a540f79d57 (diff)
Merge branch 'master' into temp-gp-overlay-refactortemp-gp-overlay-refactor
Diffstat (limited to 'release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py')
-rw-r--r--release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py b/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
index 4f1e9cc932e..9ed786c6549 100644
--- a/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
+++ b/release/scripts/freestyle/styles/split_at_highest_2d_curvatures.py
@@ -14,11 +14,11 @@ from freestyle.predicates import (
TrueUP1D,
pyHigherLengthUP1D,
pyParameterUP0D,
- )
+)
from freestyle.shaders import (
ConstantThicknessShader,
IncreasingColorShader,
- )
+)
from freestyle.types import Operators
@@ -29,5 +29,5 @@ Operators.recursive_split(func, pyParameterUP0D(0.4, 0.6), NotUP1D(pyHigherLengt
shaders_list = [
ConstantThicknessShader(10),
IncreasingColorShader(1, 0, 0, 1, 0, 1, 0, 1),
- ]
+]
Operators.create(TrueUP1D(), shaders_list)