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:
authorNBurn <7nburn@gmail.com>2019-01-18 00:48:54 +0300
committerNBurn <7nburn@gmail.com>2019-01-18 00:48:54 +0300
commitaeabdc02a83a976b2f594cd66873c6d2b537e669 (patch)
tree3ac5922be25219ab666aae4b8d04002bce2e70a6 /render_freestyle_svg.py
parentba97e19e5b3df449784a4cc4ed89ce7b511ec3e4 (diff)
Update Add-ons class properties to annotations
This should take care of most of the class property conversions to use the new annotation format (colon instead of equals) for assignment. There may still be a few edge cases that were missed.
Diffstat (limited to 'render_freestyle_svg.py')
-rw-r--r--render_freestyle_svg.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/render_freestyle_svg.py b/render_freestyle_svg.py
index 7e1ffc19..3e3634b1 100644
--- a/render_freestyle_svg.py
+++ b/render_freestyle_svg.py
@@ -218,19 +218,19 @@ class SVGExport(bpy.types.PropertyGroup):
"""Implements the properties for the SVG exporter"""
bl_idname = "RENDER_PT_svg_export"
- use_svg_export = BoolProperty(
+ use_svg_export: BoolProperty(
name="SVG Export",
description="Export Freestyle edges to an .svg format",
)
- split_at_invisible = BoolProperty(
+ split_at_invisible: BoolProperty(
name="Split at Invisible",
description="Split the stroke at an invisible vertex",
)
- object_fill = BoolProperty(
+ object_fill: BoolProperty(
name="Fill Contours",
description="Fill the contour with the object's material color",
)
- mode = EnumProperty(
+ mode: EnumProperty(
name="Mode",
items=(
('FRAME', "Frame", "Export a single frame", 0),
@@ -238,7 +238,7 @@ class SVGExport(bpy.types.PropertyGroup):
),
default='FRAME',
)
- line_join_type = EnumProperty(
+ line_join_type: EnumProperty(
name="Linejoin",
items=(
('MITER', "Miter", "Corners are sharp", 0),