mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Dev settings for using ScriptCore as either dll or csproj
This commit is contained in:
@@ -63,8 +63,6 @@ namespace GlitchyEditor
|
||||
RenderTargetGroup _editorViewportTarget ~ _.ReleaseRef();
|
||||
RenderTargetGroup _gameViewportTarget ~ _.ReleaseRef();
|
||||
|
||||
ProjectUserSettings _projectUserSettings;
|
||||
|
||||
EditorCamera _camera ~ _.Dispose();
|
||||
|
||||
EditorIcons _editorIcons ~ _.ReleaseRef();
|
||||
@@ -1549,6 +1547,7 @@ namespace GlitchyEditor
|
||||
dispatcher.Dispatch<KeyPressedEvent>(scope (e) => OnKeyPressed(e));
|
||||
dispatcher.Dispatch<MouseScrolledEvent>(scope (e) => OnMouseScrolled(e));
|
||||
dispatcher.Dispatch<DragDropEvent>(scope (e) => OnDragDrop(e));
|
||||
dispatcher.Dispatch<SettingsAppliedEvent>(scope (e) => OnSettingsApplied(e));
|
||||
}
|
||||
|
||||
private bool OnWindowResize(WindowResizeEvent e)
|
||||
@@ -1726,5 +1725,15 @@ namespace GlitchyEditor
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
bool OnSettingsApplied(SettingsAppliedEvent settingsAppliedEvent)
|
||||
{
|
||||
#if DEBUG
|
||||
// In DEBUG we can change whether we use ScriptCore as .dll or .csproj
|
||||
_currentProject?.FixupScriptCorePath();
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user