|
@@ -1,5 +1,7 @@
|
|
|
//********************************** Banshee Engine (www.banshee3d.com) **************************************************//
|
|
//********************************** Banshee Engine (www.banshee3d.com) **************************************************//
|
|
|
//**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
|
|
//**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
|
|
|
|
|
+
|
|
|
|
|
+using System.Diagnostics;
|
|
|
using System.IO;
|
|
using System.IO;
|
|
|
using bs;
|
|
using bs;
|
|
|
|
|
|
|
@@ -436,6 +438,11 @@ namespace bs.Editor
|
|
|
|
|
|
|
|
delayedOpenCodeEditorFrame = Time.FrameIdx + 1;
|
|
delayedOpenCodeEditorFrame = Time.FrameIdx + 1;
|
|
|
}
|
|
}
|
|
|
|
|
+ else if(meta.ResType == ResourceType.PlainText || meta.ResType == ResourceType.Shader || meta.ResType == ResourceType.ShaderInclude)
|
|
|
|
|
+ {
|
|
|
|
|
+ string absPath = Path.Combine(ProjectLibrary.ResourceFolder, fileEntry.Path);
|
|
|
|
|
+ Process.Start(absPath);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|