fix: Collada fprintf needs std::string be converted to char *

This commit is contained in:
Gaia Clary 2017-06-25 13:18:21 +02:00
parent 1340c7bcdc
commit fcb8761966
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ void GeometryExporter::createPolylist(std::string imageid,
// no faces using this imageid
if (faces_in_polylist == 0) {
if (imageid != "")
fprintf(stderr, "%s: Image %s is not used.\n", id_name(ob).c_str(), imageid);
fprintf(stderr, "%s: Image %s is not used.\n", id_name(ob).c_str(), imageid.c_str());
return;
}