diff --git a/import_images_as_planes.py b/import_images_as_planes.py index f05130d0112a01afcd92c026109bf8df5d94ffe8..9adace6fbf162da4d789eaa27e264dfc348593d1 100644 --- a/import_images_as_planes.py +++ b/import_images_as_planes.py @@ -438,6 +438,25 @@ class ImportImagesAsPlanes(bpy.types.Operator): min=1, default=500) + def draw(self, context): + props = self.properties + layout = self.layout + box = layout.box() + box.label('Filter:') + box.prop(props, 'fromDirectory') + box.prop(props, 'extension') + #col.label('Material mappings') + box = layout.box() + box.label('Material mappings:') + box.prop(props, 'shadeless') + box.prop(props, 'transp') + box.prop(props, 'premultiply') + box.prop(props, 'transp_method', expand=True) + box = layout.box() + box.label('Plane dimensions:') + box.prop(props, 'useDim') + box.prop(props, 'factor', expand=True) + def execute(self, context): # File Path path = self.properties.path @@ -502,4 +521,4 @@ def unregister(): if __name__ == "__main__": - register() + register() \ No newline at end of file