I'm working on an addon that uses an ExportHelper class to implement a file import dialog. I want the user to be able to select multiple files, but the filepath variable that is populated is just a string with one filename in it.
How can I modify my class to be able to import multiple files at once?
My current operator looks like this:
class SlideshowAddSlide(bpy.types.Operator, ExportHelper):
bl_idname = 'slideshow.add_slide'
filename_ext = ''
filter_glob = bpy.props.StringProperty(
default=types,
options={'HIDDEN'},
)
def execute(self, context):
print(self.filepath)
return{'FINISHED'}