mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-01 23:33:33 +00:00
Immediately delete (incomplete) docs from BlenderConnection::createBlend
This commit is contained in:
parent
4917fb0b74
commit
031daeb841
@ -458,6 +458,8 @@ bool BlenderConnection::createBlend(const ProjectPath& path, BlendType type)
|
|||||||
_readLine(lineBuf, sizeof(lineBuf));
|
_readLine(lineBuf, sizeof(lineBuf));
|
||||||
if (!strcmp(lineBuf, "FINISHED"))
|
if (!strcmp(lineBuf, "FINISHED"))
|
||||||
{
|
{
|
||||||
|
/* Delete immediately in case save doesn't occur */
|
||||||
|
hecl::Unlink(path.getAbsolutePath().c_str());
|
||||||
m_loadedBlend = path;
|
m_loadedBlend = path;
|
||||||
m_loadedType = type;
|
m_loadedType = type;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user