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_extra_tools/mesh_vertex_chamfer.py | |
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_extra_tools/mesh_vertex_chamfer.py')
-rw-r--r-- | mesh_extra_tools/mesh_vertex_chamfer.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesh_extra_tools/mesh_vertex_chamfer.py b/mesh_extra_tools/mesh_vertex_chamfer.py index a80ba270..d3a4bc7b 100644 --- a/mesh_extra_tools/mesh_vertex_chamfer.py +++ b/mesh_extra_tools/mesh_vertex_chamfer.py @@ -44,26 +44,26 @@ class VertexChamfer(Operator): bl_description = "Tri chamfer selected vertices" bl_options = {'REGISTER', 'UNDO'} - factor = FloatProperty( + factor: FloatProperty( name="Factor", description="Size of the Champfer", default=0.1, min=0.0, soft_max=1.0 ) - relative = BoolProperty( + relative: BoolProperty( name="Relative", description="If Relative, Champfer size is relative to the edge length", default=True ) - dissolve = BoolProperty( + dissolve: BoolProperty( name="Remove", description="Remove/keep the original selected vertices\n" "Remove creates a new triangle face between the Champfer edges,\n" "similar to the Dissolve Vertices operator", default=True ) - displace = FloatProperty( + displace: FloatProperty( name="Displace", description="Active only if Remove option is disabled\n" "Displaces the original selected vertices along the normals\n" |