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:
authorThomas Dinges <blender@dingto.org>2011-08-27 17:38:53 +0400
committerThomas Dinges <blender@dingto.org>2011-08-27 17:38:53 +0400
commitf4768033d876ed23567a71a2897c19c46753f788 (patch)
treed17f64037cd6035e20880585db5528cb185490b9 /io_import_scene_mhx.py
parentd744270e737d5ecb192897e94549fde45405c469 (diff)
Addon UI Cleanup, Part 2
* You only have to do layout.prop if you want 1 property, no need for row then! * Use col, row, sub as variable names, not colsub, rowsub, row2 etc please. * Povray Addon: Still used a lot of splits, you need no split when you only have 1 column!
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r--io_import_scene_mhx.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py
index 69a70587..eb31353a 100644
--- a/io_import_scene_mhx.py
+++ b/io_import_scene_mhx.py
@@ -2907,8 +2907,7 @@ class RigifyMhxPanel(bpy.types.Panel):
return False
def draw(self, context):
- layout = self.layout
- layout.operator("mhxrig.rigify_mhx")
+ self.layout.operator("mhxrig.rigify_mhx")
return
###################################################################################