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_gimp_image_to_scene.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_gimp_image_to_scene.py')
-rw-r--r-- | io_import_gimp_image_to_scene.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io_import_gimp_image_to_scene.py b/io_import_gimp_image_to_scene.py index e0f6a7aa..4632c227 100644 --- a/io_import_gimp_image_to_scene.py +++ b/io_import_gimp_image_to_scene.py @@ -606,6 +606,7 @@ class GIMPImageToScene(bpy.types.Operator): def draw(self, context): layout = self.layout + box = layout.box() box.label('3D Layers:', icon='SORTSIZE') box.prop(self, 'SetCamera', icon='OUTLINER_DATA_CAMERA') @@ -616,6 +617,7 @@ class GIMPImageToScene(bpy.types.Operator): box.prop(self, 'ShadelessMats', icon='SOLID') box.prop(self, 'LayerOffset') box.prop(self, 'LayerScale') + box = layout.box() box.label('Compositing:', icon='RENDERLAYERS') box.prop(self, 'SetupCompo', icon='NODETREE') |