diff options
author | Thomas Dinges <blender@dingto.org> | 2011-08-27 17:38:53 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2011-08-27 17:38:53 +0400 |
commit | f4768033d876ed23567a71a2897c19c46753f788 (patch) | |
tree | d17f64037cd6035e20880585db5528cb185490b9 /io_import_scene_mhx.py | |
parent | d744270e737d5ecb192897e94549fde45405c469 (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.py | 3 |
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 ################################################################################### |