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>2010-09-24 07:50:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-24 07:50:13 +0400
commit212a9312393781839d016532ba6e340b45387ee8 (patch)
treed9e03b1942e0cdc4fe54d702ee86232d80418120 /io_import_images_as_planes.py
parentb28d300ccd5cf8bce2843317fc3f7ca3dd0f99b9 (diff)
use the operator rather then its properties for drawing the UI, now its supported in the api.
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index f8efd112..8ce9b4c7 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -448,18 +448,18 @@ class ImportImagesAsPlanes(bpy.types.Operator):
layout = self.layout
box = layout.box()
box.label('Filter:', icon='FILTER')
- box.prop(self.properties, 'fromDirectory')
- box.prop(self.properties, 'extension', icon='FILE_IMAGE')
+ box.prop(self, 'fromDirectory')
+ box.prop(self, 'extension', icon='FILE_IMAGE')
box = layout.box()
box.label('Material mappings:', icon='MATERIAL')
- box.prop(self.properties, 'use_shadeless')
- box.prop(self.properties, 'transp')
- box.prop(self.properties, 'use_premultiply')
- box.prop(self.properties, 'transp_method', expand=True)
+ box.prop(self, 'use_shadeless')
+ box.prop(self, 'transp')
+ box.prop(self, 'use_premultiply')
+ box.prop(self, 'transp_method', expand=True)
box = layout.box()
box.label('Plane dimensions:', icon='ARROW_LEFTRIGHT')
- box.prop(self.properties, 'useDim')
- box.prop(self.properties, 'factor', expand=True)
+ box.prop(self, 'useDim')
+ box.prop(self, 'factor', expand=True)
def execute(self, context):
# File Path