[Bf-blender-cvs] [8519ec9] gooseberry: Fix for Alembic info printer printing to std::cout instead of the internal stringstream.

Lukas Tönne noreply at git.blender.org
Mon Mar 23 13:02:58 CET 2015


Commit: 8519ec96d7c729cb3c5566121a83574e29e6590f
Author: Lukas Tönne
Date:   Mon Mar 9 11:35:21 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB8519ec96d7c729cb3c5566121a83574e29e6590f

Fix for Alembic info printer printing to std::cout instead of the
internal stringstream.

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

M	source/blender/pointcache/alembic/abc_info.cpp

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

diff --git a/source/blender/pointcache/alembic/abc_info.cpp b/source/blender/pointcache/alembic/abc_info.cpp
index 3b4c97f..b937197 100644
--- a/source/blender/pointcache/alembic/abc_info.cpp
+++ b/source/blender/pointcache/alembic/abc_info.cpp
@@ -155,8 +155,8 @@ static void visitCompoundProperty(std::stringstream &ss, ICompoundProperty iProp
 	std::string interp = "schema=";
 	interp += iProp.getMetaData().get("schema");
 	
-	std::cout << ioIndent << "CompoundProperty " << "name=" << iProp.getName()
-	          << g_sep << interp << std::endl;
+	ss << ioIndent << "CompoundProperty " << "name=" << iProp.getName()
+	   << g_sep << interp << std::endl;
 	
 	visitProperties(ss, iProp, ioIndent);




More information about the Bf-blender-cvs mailing list