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 /add_mesh_extra_objects/add_empty_as_parent.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 'add_mesh_extra_objects/add_empty_as_parent.py')
-rw-r--r-- | add_mesh_extra_objects/add_empty_as_parent.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/add_mesh_extra_objects/add_empty_as_parent.py b/add_mesh_extra_objects/add_empty_as_parent.py index a6ae69e6..0d4716a3 100644 --- a/add_mesh_extra_objects/add_empty_as_parent.py +++ b/add_mesh_extra_objects/add_empty_as_parent.py @@ -22,24 +22,24 @@ class P2E(Operator): bl_description = "Parent selected objects to a new Empty" bl_options = {"REGISTER", "UNDO"} - nombre = StringProperty( + nombre: StringProperty( name="", default='OBJECTS', description='Give the empty / group a name' ) - grupo = BoolProperty( + grupo: BoolProperty( name="Create Group", default=False, description="Also add objects to a group" ) - locat = EnumProperty( + locat: EnumProperty( name='', items=[('CURSOR', 'Cursor', 'Cursor'), ('ACTIVE', 'Active', 'Active'), ('CENTER', 'Center', 'Selection Center')], description='Empty location', default='CENTER' ) - renom = BoolProperty( + renom: BoolProperty( name="Add Prefix", default=False, description="Add prefix to objects name" |