windows 32 bit collada fixes (recompiled with /D_SECURE_SCL=0)

metadata
Wenzel Jakob 2010-08-26 19:14:25 +02:00
parent b49340d02a
commit b55642ca37
5 changed files with 2 additions and 0 deletions

View File

@ -118,6 +118,7 @@ void GeometryConverter::convert(const std::string &inputFile,
std::string meshesDirectory = "meshes";
std::string outputFile = sceneName;
SLog(EInfo, "Creating directories ..");
#if !defined(WIN32)
if (outputDirectory != "") {
textureDirectory = outputDirectory + "/textures";
@ -154,6 +155,7 @@ void GeometryConverter::convert(const std::string &inputFile,
std::ostringstream os;
SLog(EInfo, "Beginning conversion ..");
if (endsWith(toLowerCase(inputFile), ".dae")) {
convertCollada(inputFile, os, textureDirectory, meshesDirectory);
} else if (endsWith(toLowerCase(inputFile), ".obj")) {