mirror of https://github.com/AxioDL/metaforce.git
Update hecl
This commit is contained in:
parent
abff623cf6
commit
3bab36faba
|
@ -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,12 +121,16 @@ bool ProjectManager::openProject(const hecl::SystemString& path)
|
|||
{
|
||||
needsSave = true;
|
||||
fclose(fp);
|
||||
goto makeDefault;
|
||||
goto makeProj;
|
||||
}
|
||||
fclose(fp);
|
||||
|
||||
makeDefault:
|
||||
makeProj:
|
||||
m_vm.ProjectChanged(*m_proj);
|
||||
|
||||
if (!needsSave)
|
||||
m_vm.SetupEditorView(r);
|
||||
else
|
||||
m_vm.SetupEditorView();
|
||||
|
||||
m_factoryMP1.IndexMP1Resources(*m_proj);
|
||||
|
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit 7393a88a0d2e79586ae9ae097c9c8fb2b68105da
|
||||
Subproject commit dabc519fe168e6a2db839119eb20f706cd39ddac
|
Loading…
Reference in New Issue