String conversion fix

This commit is contained in:
Jack Andersen 2015-09-02 16:09:56 -10:00
parent 6d13e83278
commit 64d41d712e
1 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,8 @@ bool ReadANCSToBlender(HECL::BlenderConnection& conn,
if (!conn.createBlend(cmdlPath.getAbsolutePath())) if (!conn.createBlend(cmdlPath.getAbsolutePath()))
return false; return false;
fileChanged(pakRouter.getBestEntryName(*cmdlE).c_str()); HECL::SystemStringView bestNameView(pakRouter.getBestEntryName(*cmdlE));
fileChanged(bestNameView.sys_str().c_str());
typename ANCSDNA::CSKRType cskr; typename ANCSDNA::CSKRType cskr;
pakRouter.lookupAndReadDNA(info.cskr, cskr); pakRouter.lookupAndReadDNA(info.cskr, cskr);
@ -63,7 +64,8 @@ bool ReadANCSToBlender(HECL::BlenderConnection& conn,
} }
} }
fileChanged(pakRouter.getBestEntryName(entry).c_str()); HECL::SystemStringView bestNameView(pakRouter.getBestEntryName(entry));
fileChanged(bestNameView.sys_str().c_str());
/* Establish ANCS blend */ /* Establish ANCS blend */
if (!conn.createBlend(outPath.getAbsolutePath())) if (!conn.createBlend(outPath.getAbsolutePath()))