diff options
author | NBurn <7nburn@gmail.com> | 2019-01-18 00:48:54 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-18 00:48:54 +0300 |
commit | aeabdc02a83a976b2f594cd66873c6d2b537e669 (patch) | |
tree | 3ac5922be25219ab666aae4b8d04002bce2e70a6 /mesh_inset | |
parent | ba97e19e5b3df449784a4cc4ed89ce7b511ec3e4 (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 'mesh_inset')
-rw-r--r-- | mesh_inset/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesh_inset/__init__.py b/mesh_inset/__init__.py index 973b57c4..94c9327d 100644 --- a/mesh_inset/__init__.py +++ b/mesh_inset/__init__.py @@ -58,7 +58,7 @@ class Inset(bpy.types.Operator): bl_description = "Make an inset polygon inside selection" bl_options = {'REGISTER', 'UNDO'} - inset_amount = FloatProperty(name="Amount", + inset_amount: FloatProperty(name="Amount", description="Amount to move inset edges", default=5.0, min=0.0, @@ -66,7 +66,7 @@ class Inset(bpy.types.Operator): soft_min=0.0, soft_max=100.0, unit='LENGTH') - inset_height = FloatProperty(name="Height", + inset_height: FloatProperty(name="Height", description="Amount to raise inset faces", default=0.0, min=-10000.0, @@ -74,10 +74,10 @@ class Inset(bpy.types.Operator): soft_min=-500.0, soft_max=500.0, unit='LENGTH') - region = BoolProperty(name="Region", + region: BoolProperty(name="Region", description="Inset selection as one region?", default=True) - scale = EnumProperty(name="Scale", + scale: EnumProperty(name="Scale", description="Scale for amount", items=[ ('PERCENT', "Percent", |