From eddeaabbe3c8603c4fdf584eb14f786b6463a8b9 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Mon, 4 Jan 2016 17:24:09 -0800 Subject: [PATCH] Quick saveProject fix --- Editor/ProjectManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Editor/ProjectManager.cpp b/Editor/ProjectManager.cpp index 0e0231a05..78cd4823c 100644 --- a/Editor/ProjectManager.cpp +++ b/Editor/ProjectManager.cpp @@ -123,11 +123,11 @@ bool ProjectManager::saveProject() #ifdef RUDE_BINARY_CONFIGS HECL::ProjectPath rudeSpacesPath(*m_proj, _S(".hecl/rude_spaces.bin")); - Athena::io::FileReader r(rudeSpacesPath.getAbsolutePath(), 32 * 1024, false); - if (r.hasError()) + Athena::io::FileWriter w(rudeSpacesPath.getAbsolutePath(), true, false); + if (w.hasError()) return false; - m_vm.SetupEditorView(r); + m_vm.SaveEditorView(w); #else HECL::ProjectPath oldSpacesPath(*m_proj, _S(".hecl/~rude_spaces.yaml"));