fix: Collada fprintf needs std::string be converted to char *
authorGaia Clary <gaia.clary@machinimatrix.org>
Sun, 25 Jun 2017 11:18:21 +0000 (13:18 +0200)
committerGaia Clary <gaia.clary@machinimatrix.org>
Sun, 25 Jun 2017 11:18:21 +0000 (13:18 +0200)
source/blender/collada/GeometryExporter.cpp

index ce6af20817cec4f2bc0746027d5a8615772b22bf..2586b0c0b3eac6e91c3baa0eb08e228d3e62aca3 100644 (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;
        }