mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Universal AssetHandles. Serialize AssetHandle instead of AssetIdentifier
A bit unstable
This commit is contained in:
@@ -235,10 +235,7 @@ namespace GlitchyEditor
|
||||
_editor.EditorSceneRenderer = _editorSceneRenderer;
|
||||
|
||||
_editor.RequestOpenScene.Add(new (s, fileName) => {
|
||||
String fullName = scope .();
|
||||
Path.Combine(fullName, _currentProject.AssetsFolder, fileName);
|
||||
|
||||
LoadSceneFile(fullName);
|
||||
LoadSceneFile(fileName);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1105,7 +1102,7 @@ namespace GlitchyEditor
|
||||
|
||||
private void ShowOpenRecentSceneMenu()
|
||||
{
|
||||
if (_currentProject == null)
|
||||
if (_currentProject == null || _currentProject.UserSettings.RecentScenes == null)
|
||||
return;
|
||||
|
||||
int i = 0;
|
||||
|
||||
Reference in New Issue
Block a user