From aeabdc02a83a976b2f594cd66873c6d2b537e669 Mon Sep 17 00:00:00 2001 From: NBurn <7nburn@gmail.com> Date: Thu, 17 Jan 2019 16:48:54 -0500 Subject: 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. --- mesh_extra_tools/mesh_vertex_chamfer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mesh_extra_tools/mesh_vertex_chamfer.py') 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" -- cgit v1.2.3