Update hecl

This commit is contained in:
Jack Andersen 2016-04-15 10:58:49 -10:00
parent abff623cf6
commit 3bab36faba
2 changed files with 10 additions and 6 deletions

View File

@ -103,7 +103,7 @@ bool ProjectManager::openProject(const hecl::SystemString& path)
if (!fp)
{
needsSave = true;
goto makeDefault;
goto makeProj;
}
yaml_parser_set_input_file(r.getParser(), fp);
@ -111,7 +111,7 @@ bool ProjectManager::openProject(const hecl::SystemString& path)
{
needsSave = true;
fclose(fp);
goto makeDefault;
goto makeProj;
}
r.reset();
@ -121,13 +121,17 @@ bool ProjectManager::openProject(const hecl::SystemString& path)
{
needsSave = true;
fclose(fp);
goto makeDefault;
goto makeProj;
}
fclose(fp);
makeDefault:
makeProj:
m_vm.ProjectChanged(*m_proj);
m_vm.SetupEditorView();
if (!needsSave)
m_vm.SetupEditorView(r);
else
m_vm.SetupEditorView();
m_factoryMP1.IndexMP1Resources(*m_proj);
m_mainMP1.emplace(m_factoryMP1, m_objStore);

2
hecl

@ -1 +1 @@
Subproject commit 7393a88a0d2e79586ae9ae097c9c8fb2b68105da
Subproject commit dabc519fe168e6a2db839119eb20f706cd39ddac