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