IO: Importing multiple 3DS files at once #105227
@ -13,6 +13,7 @@ from bpy.props import (
|
|||||||
EnumProperty,
|
EnumProperty,
|
||||||
FloatProperty,
|
FloatProperty,
|
||||||
StringProperty,
|
StringProperty,
|
||||||
|
CollectionProperty,
|
||||||
)
|
)
|
||||||
import bpy
|
import bpy
|
||||||
bl_info = {
|
bl_info = {
|
||||||
@ -47,6 +48,8 @@ class Import3DS(bpy.types.Operator, ImportHelper):
|
|||||||
filename_ext = ".3ds"
|
filename_ext = ".3ds"
|
||||||
filter_glob: StringProperty(default="*.3ds", options={'HIDDEN'})
|
filter_glob: StringProperty(default="*.3ds", options={'HIDDEN'})
|
||||||
filepath: StringProperty(subtype='FILE_PATH', options={'SKIP_SAVE'})
|
filepath: StringProperty(subtype='FILE_PATH', options={'SKIP_SAVE'})
|
||||||
|
files: CollectionProperty(type=bpy.types.OperatorFileListElement, options={'HIDDEN', 'SKIP_SAVE'})
|
||||||
|
directory: StringProperty(subtype='DIR_PATH')
|
||||||
|
|
||||||
constrain_size: FloatProperty(
|
constrain_size: FloatProperty(
|
||||||
name="Constrain Size",
|
name="Constrain Size",
|
||||||
|
Loading…
Reference in New Issue
Block a user