public void OpenSceneDialog()
{
OpenFileDialog ofd = new OpenFileDialog();
ofd.DefaultExt = "PropellerScene";
ofd.InitialDirectory = System.Environment.CurrentDirectory;
ofd.Filter = "Scene Files (*.PropellerScene)|*.PropellerScene|All files (*.*)|*.*";
ofd.FilterIndex = 0;
if (ofd.ShowDialog() == DialogResult.OK)
{
editorList[0].instance.loadScene(Path.GetFullPath(ofd.FileName).ToString());
operationManagerInstance.clearOperations(); //Clear undo history
undoListView.clearUndoHistory();//Clear the GUI list of undo history
//TODO: FIND ACTIVE EDITOR
}
}