mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 08:18:05 +02:00
fix case-sensitivity on fbx
This commit is contained in:
parent
a3206c84f2
commit
65cc683f80
2 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ class AvatarExporter : MonoBehaviour {
|
|||
assetPath = AssetDatabase.GUIDToAssetPath(Selection.assetGUIDs[0]);
|
||||
assetName = Path.GetFileNameWithoutExtension(assetPath);
|
||||
ModelImporter modelImporter = ModelImporter.GetAtPath(assetPath) as ModelImporter;
|
||||
if (assetPath.LastIndexOf(".fbx") == -1 || modelImporter == null) {
|
||||
if (assetPath.ToLower().LastIndexOf(".fbx") == -1 || modelImporter == null) {
|
||||
EditorUtility.DisplayDialog("Error", "Please select an .fbx model asset to export.", "Ok");
|
||||
return;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue