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 /io_scene_vrml2
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 'io_scene_vrml2')
-rw-r--r--io_scene_vrml2/__init__.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/io_scene_vrml2/__init__.py b/io_scene_vrml2/__init__.py
index 4a420f70..e6d80db9 100644
--- a/io_scene_vrml2/__init__.py
+++ b/io_scene_vrml2/__init__.py
@@ -60,37 +60,37 @@ class ExportVRML(bpy.types.Operator, ExportHelper):
bl_label = "Export VRML2"
filename_ext = ".wrl"
- filter_glob = StringProperty(default="*.wrl", options={'HIDDEN'})
+ filter_glob: StringProperty(default="*.wrl", options={'HIDDEN'})
- use_selection = BoolProperty(
+ use_selection: BoolProperty(
name="Selection Only",
description="Export selected objects only",
default=False,
)
- use_mesh_modifiers = BoolProperty(
+ use_mesh_modifiers: BoolProperty(
name="Apply Modifiers",
description="Apply Modifiers to the exported mesh",
default=True,
)
- use_color = BoolProperty(
+ use_color: BoolProperty(
name="Vertex Colors",
description="Export the active vertex color layer",
default=True,
)
- color_type = EnumProperty(
+ color_type: EnumProperty(
name='Color',
items=(
('VERTEX', "Vertex Color", ""),
('MATERIAL', "Material Color", "")),
)
- use_uv = BoolProperty(
+ use_uv: BoolProperty(
name="Texture/UVs",
description="Export the active texture and UV coords",
default=True,
)
- global_scale = FloatProperty(
+ global_scale: FloatProperty(
name="Scale",
min=0.01, max=1000.0,
default=1.0,