diff options
Diffstat (limited to 'rigify/ui.py')
-rw-r--r-- | rigify/ui.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index f4e8c43a..f94f755f 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -19,7 +19,7 @@ # <pep8 compliant> import bpy -from bpy.props import * +from bpy.props import StringProperty import rigify from rigify.utils import get_rig_type from rigify import generate @@ -257,7 +257,11 @@ class Sample(bpy.types.Operator): bl_label = "Add a sample metarig for a rig type" bl_options = {'UNDO'} - metarig_type = StringProperty(name="Type", description="Name of the rig type to generate a sample of", maxlen=128, default="") + metarig_type = StringProperty( + name="Type", + description="Name of the rig type to generate a sample of", + maxlen=128, + ) def execute(self, context): if context.mode == 'EDIT_ARMATURE' and self.metarig_type != "": |