Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_curve_svg/import_svg.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index c597aaf0..8cfd1178 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -47,10 +47,9 @@ SVGEmptyStyles = {'useFill': None,
def srgb_to_linearrgb(c):
if c < 0.04045:
- return 0.0 if c < 0.0 else c * (1.0 / 12.92);
+ return 0.0 if c < 0.0 else c * (1.0 / 12.92)
else:
- return pow((c + 0.055) * (1.0 / 1.055), 2.4);
-
+ return pow((c + 0.055) * (1.0 / 1.055), 2.4)
def SVGParseFloat(s, i=0):
"""