[Bf-blender-cvs] [fcb8761966b] master: fix: Collada fprintf needs std::string be converted to char *

Gaia Clary noreply at git.blender.org
Sun Jun 25 13:18:42 CEST 2017


Commit: fcb8761966bd7bb15b4051a3dec513d10aaf627d
Author: Gaia Clary
Date:   Sun Jun 25 13:18:21 2017 +0200
Branches: master
https://developer.blender.org/rBfcb8761966bd7bb15b4051a3dec513d10aaf627d

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

===================================================================

M	source/blender/collada/GeometryExporter.cpp

===================================================================

diff --git a/source/blender/collada/GeometryExporter.cpp b/source/blender/collada/GeometryExporter.cpp
index ce6af20817c..2586b0c0b3e 100644
--- a/source/blender/collada/GeometryExporter.cpp
+++ b/source/blender/collada/GeometryExporter.cpp
@@ -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;
 	}




More information about the Bf-blender-cvs mailing list