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_relax.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_relax.py')
-rw-r--r-- | mesh_relax.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh_relax.py b/mesh_relax.py index 1b177023..2d8022fc 100644 --- a/mesh_relax.py +++ b/mesh_relax.py @@ -97,7 +97,7 @@ class Relax(bpy.types.Operator): bl_label = 'Relax' bl_options = {'REGISTER', 'UNDO'} - iterations = IntProperty(name="Relax iterations", + iterations: IntProperty(name="Relax iterations", default=1, min=0, max=100, soft_min=0, soft_max=10) @classmethod |