[feat] allow nested collection when exporting bm file.

provided by propylamine
This commit is contained in:
yyc12345 2023-09-05 14:40:10 +08:00
parent 0d1e382b37
commit 0a3b3c5862

View File

@ -75,7 +75,7 @@ def export_bm(context, bmx_filepath, prefs_fncg, opts_exportMode, opts_exportTar
# do not need check them validation in there.
# just collect them.
if opts_exportMode== "COLLECTION":
objectList = opts_exportTarget.objects
objectList = opts_exportTarget.all_objects
else:
objectList = [opts_exportTarget, ]