File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Packages/com.unity.formats.fbx/Editor/Scripts Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3417,8 +3417,17 @@ internal int ExportAll (
3417
3417
int exportProgress = 0 ;
3418
3418
IEnumerable < GameObject > revisedExportSet = null ;
3419
3419
3420
+ // Total # of objects to be exported
3421
+ // Used by progress bar to show how many objects will be exported in total
3422
+ // i.e. exporting x/count...
3420
3423
int count = 0 ;
3421
- int rootObjCount = 0 ; // # of objects to export that are root objects
3424
+
3425
+ // number of object hierarchies being exported.
3426
+ // Used to figure out exported transforms for root objects.
3427
+ // i.e. if we are exporting a single hierarchy at local position, then it's root is set to zero,
3428
+ // but if we are exporting multiple hierarchies at local position, then each hierarchy will be recentered according
3429
+ // to the center of the bounding box.
3430
+ int rootObjCount = 0 ;
3422
3431
3423
3432
if ( animOnly ) {
3424
3433
count = GetAnimOnlyHierarchyCount ( exportData ) ;
You can’t perform that action at this time.
0 commit comments