Skip to content

Commit cd18aeb

Browse files
committed
don't export anything if we hit cancel
1 parent e933732 commit cd18aeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/Editor/FbxExporter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ public int ExportAll (IEnumerable<UnityEngine.Object> unityExportSet)
371371
i = this.ExportComponents (unityGo, fbxScene, fbxRootNode, i, count);
372372
if(i < 0){
373373
Debug.LogWarning("Export Cancelled");
374+
return 0;
374375
}
375376
}
376377
}

0 commit comments

Comments
 (0)