We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca639a commit cbc950bCopy full SHA for cbc950b
Assets/FbxExporters/Editor/FbxExporter.cs
@@ -508,9 +508,7 @@ protected HashSet<GameObject> RemoveDuplicateObjects(IEnumerable<UnityEngine.Obj
508
HashSet<GameObject> toExport = new HashSet<GameObject> ();
509
HashSet<UnityEngine.Object> hashedExportSet = new HashSet<Object> (unityExportSet);
510
511
- Queue<UnityEngine.Object> queue = new Queue<Object> (unityExportSet);
512
- while(queue.Count > 0) {
513
- var obj = queue.Dequeue();
+ foreach(var obj in unityExportSet){
514
var unityGo = GetGameObject (obj);
515
516
if (unityGo) {
0 commit comments