Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-19 01:30:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-19 01:30:11 +0400
commitedb358be0e71afbfb4d016cb4efc0f6f87384f90 (patch)
treec8a8ed7482bccf86af19a4f50bb014109c2ab8b2 /rigify/ui.py
parent37db39243afb60a4e997475c9ea479e3d48d536f (diff)
minor adjustments
- dont import * - dont use builtin names for vars - strip trailing white space
Diffstat (limited to 'rigify/ui.py')
-rw-r--r--rigify/ui.py8
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 != "":