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_images_as_planes.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_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 4770ceb9..7c5c6fd1 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -314,18 +314,21 @@ class IMPORT_OT_image_to_plane(bpy.types.Operator, ImportHelper, AddObjectHelper
## DRAW ##
def draw(self, context):
layout = self.layout
+
box = layout.box()
box.label('Import Options:', icon='FILTER')
box.prop(self, 'all_in_directory')
box.prop(self, 'extension', icon='FILE_IMAGE')
box.prop(self, 'align')
box.prop(self, 'align_offset')
+
box = layout.box()
box.label('Material mappings:', icon='MATERIAL')
box.prop(self, 'use_shadeless')
box.prop(self, 'use_transparency')
box.prop(self, 'use_premultiply')
box.prop(self, 'transparency_method', expand=True)
+
box = layout.box()
box.label('Plane dimensions:', icon='ARROW_LEFTRIGHT')
box.prop(self, 'use_dimension')