mirror of https://github.com/AxioDL/metaforce.git
Quick saveProject fix
This commit is contained in:
parent
106cb940d3
commit
eddeaabbe3
|
@ -123,11 +123,11 @@ bool ProjectManager::saveProject()
|
||||||
|
|
||||||
#ifdef RUDE_BINARY_CONFIGS
|
#ifdef RUDE_BINARY_CONFIGS
|
||||||
HECL::ProjectPath rudeSpacesPath(*m_proj, _S(".hecl/rude_spaces.bin"));
|
HECL::ProjectPath rudeSpacesPath(*m_proj, _S(".hecl/rude_spaces.bin"));
|
||||||
Athena::io::FileReader r(rudeSpacesPath.getAbsolutePath(), 32 * 1024, false);
|
Athena::io::FileWriter w(rudeSpacesPath.getAbsolutePath(), true, false);
|
||||||
if (r.hasError())
|
if (w.hasError())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
m_vm.SetupEditorView(r);
|
m_vm.SaveEditorView(w);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
HECL::ProjectPath oldSpacesPath(*m_proj, _S(".hecl/~rude_spaces.yaml"));
|
HECL::ProjectPath oldSpacesPath(*m_proj, _S(".hecl/~rude_spaces.yaml"));
|
||||||
|
|
Loading…
Reference in New Issue