IO: Option to import each 3DS file on a new collection #105232
@ -107,10 +107,10 @@ class Import3DS(bpy.types.Operator, ImportHelper):
|
||||
description="Read the 3D cursor location",
|
||||
default=False,
|
||||
)
|
||||
new_collection: BoolProperty(
|
||||
name="New collection",
|
||||
description="Include on a new collection",
|
||||
default=True,
|
||||
use_collection: BoolProperty(
|
||||
name="Collection",
|
||||
description="Create a new collection",
|
||||
default=False,
|
||||
)
|
||||
|
||||
|
||||
@ -172,11 +172,11 @@ class MAX3DS_PT_import_include(bpy.types.Panel):
|
||||
layrow.prop(operator, "use_keyframes")
|
||||
layrow.label(text="", icon='ANIM' if operator.use_keyframes else 'DECORATE_DRIVER')
|
||||
layrow = layout.row(align=True)
|
||||
layrow.prop(operator, "use_collection")
|
||||
layrow.label(text="", icon='OUTLINER_COLLECTION' if operator.new_collection else 'COLLECTION_NEW')
|
||||
layrow = layout.row(align=True)
|
||||
layrow.prop(operator, "use_cursor")
|
||||
layrow.label(text="", icon='PIVOT_CURSOR' if operator.use_cursor else 'CURSOR')
|
||||
layrow = layout.row(align=True)
|
||||
layrow.prop(operator, "new_collection")
|
||||
layrow.label(text="", icon='OUTLINER_COLLECTION' if operator.new_collection else 'COLLECTION_NEW')
|
||||
|
||||
|
||||
class MAX3DS_PT_import_transform(bpy.types.Panel):
|
||||
|
Loading…
Reference in New Issue
Block a user