Skip to content

Commit 36f3287

Browse files
committed
don't use version to show "repair missing scripts" message
use existance of 1.1.0b1 documentation pdf
1 parent 607d761 commit 36f3287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ public override void OnInspectorGUI() {
214214
}
215215
}
216216

217-
private static bool HideRepairMissingScripts(){
218-
var version = FbxExporters.Editor.ModelExporter.GetVersionFromReadme ();
219-
return version.Equals ("1.1.0b1")? false : true;
217+
private bool HideRepairMissingScripts(){
218+
var docPath = Application.dataPath + "/FbxExporters/FBX_Exporter_User_Guide_v1.1.0b1.pdf";
219+
return File.Exists(docPath)? false : true;
220220
}
221221

222222
private static string TryFindDCC(string dccPath, string ext, ExportSettings.DCCType dccType){

0 commit comments

Comments
 (0)