Skip to content

Commit 1ab29c5

Browse files
committed
Fixed pull request changes
1 parent 96ff8e4 commit 1ab29c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Assets/FbxExporters/Editor/FbxExporter.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class ModelExporter : System.IDisposable
8282
// from being passed to command, thus resulting in OnContextItem()
8383
// being called only once regardless of what is selected.
8484
const string MenuItemName = "GameObject/Export Model...";
85-
const string ModelOnlyMenuItemName = "GameObject/Export Model without Animation...";
85+
const string ModelOnlyMenuItemName = "GameObject/Export Model Only...";
8686

8787
const string ClipMenuItemName = "GameObject/Export All Timeline Clips...";
8888
const string TimelineClipMenuItemName = "GameObject/Export Selected Timeline Clip...";
@@ -2545,7 +2545,7 @@ protected bool ExportComponents(FbxScene fbxScene, AnimationExportType animation
25452545

25462546
// check if this object contains animation, keep track of it
25472547
// if it does
2548-
if (GameObjectHasAnimation (unityGo) && animationExportType != AnimationExportType.none) {
2548+
if (animationExportType != AnimationExportType.none && GameObjectHasAnimation (unityGo) ) {
25492549
animationNodes.Add (unityGo);
25502550
}
25512551
}
@@ -3675,8 +3675,6 @@ public static string ExportObjects (
36753675
}
36763676
animationExportData = fbxExporter.GetAnimationExportData(gos);
36773677
break;
3678-
case AnimationExportType.none:
3679-
break;
36803678
default:
36813679
break;
36823680
}

0 commit comments

Comments
 (0)