Merged develop.

--HG--
branch : dfighter-tools
hg/feature/streamed-package
dfighter1985 10 years ago
commit 9b989a2dc0

@ -74,6 +74,8 @@ cfgOut.write("{\n")
cfgOut.write("\t\"" + ExportBuildDirectory + "/" + ClodExportDirectory + "\", \n")
cfgOut.write("\t\"" + ExportBuildDirectory + "/" + SkelExportDirectory + "\", \n")
cfgOut.write("\t\"" + ExportBuildDirectory + "/" + AnimBuildDirectory + "\", \n")
cfgOut.write("\t\"" + ExportBuildDirectory + "/" + ShapeOptimizedBuildDirectory + "\", \n")
cfgOut.write("\t\"" + ExportBuildDirectory + "/" + ShapeWithCoarseMeshBuildDirectory + "\", \n")
cfgOut.write("};\n")
cfgOut.write("\n")
cfgOut.close()

@ -1784,6 +1784,7 @@ void CScreenshotIslands::buildBackTextureHLS(const std::string & islandName, con
// keep more filled eighth of circle
nlassert(!sortedHLS.empty()); // If it crashes here, you may be missing .zonel's.
itHLS = sortedHLS.begin();
uint h, s, v;
RGB2HSV(*itHLS, h, s, v);

@ -211,7 +211,7 @@ int main(int argc, char* argv[])
catch(const EStream &)
{
mustRebuild = true; // damaged file or bad version ? -> force rebuild
delete packedIsland; // remove whatever was serialized
// delete packedIsland; // remove whatever was serialized // NOPE. smart pointer
packedIsland = new CPackedWorldHolder;
}
}

Loading…
Cancel
Save