mirror of https://github.com/AxioDL/metaforce.git
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…
Reference in New Issue