File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Assets/Integrations/Autodesk/max/scripts Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ struct UnityExportHelpers (
283
283
284
284
if exportFileName != undefined then (
285
285
exportFile exportFileName #noPrompt selectedOnly: true using: FBXEXP
286
+ print (" Result: " + exportFileName)
286
287
)
287
288
),
288
289
@@ -308,7 +309,9 @@ struct UnityExportHelpers (
308
309
local setsToExport = #()
309
310
for expSet in unityExportSets do (
310
311
for obj in origSelection do (
311
- if (findItem expSet obj > 0 ) do (
312
+ -- append export set as set to export if obj is in the set or obj is
313
+ -- dummy for this set
314
+ if (findItem expSet obj > 0 ) or (obj.name == expSet.name and (isProperty obj " modelFilePath" )) do (
312
315
appendIfUnique setsToExport expSet
313
316
break
314
317
)
You can’t perform that action at this time.
0 commit comments