add "attach_to_root" option as a qargparse argument

This commit is contained in:
BenoitConnan 2022-01-03 15:52:17 +01:00
parent f88f1a5306
commit 21b66991b7

View file

@ -100,6 +100,13 @@ class ReferenceLoader(api.Loader):
"offset",
label="Position Offset",
help="Offset loaded models for easier selection."
),
qargparse.Boolean(
"attach_to_root",
label="Group imported asset",
default=True,
help="Should a group be created to encapsulate"
" imported representation ?"
)
]