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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-10-29 17:50:06 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-10-29 17:50:06 +0300
commit67b0a56743b2786d27dc34d4d7c14cae9fe4ce16 (patch)
treed01054a6b8bb08a25d30dd4b6950f6ec179c38d8
parentf99816d142ec94f8af8ce4d1b39c06e68316e9e2 (diff)
SVG: Cleanup, don't use semicolon
-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):
"""