[Bf-blender-cvs] [16d259c] alembic_pointcache: Fix for Alembic info printer printing to std::cout instead of the internal stringstream.

Lukas Tönne noreply at git.blender.org
Mon Mar 9 12:35:51 CET 2015


Commit: 16d259c842f78b5e0f7836c2e6d72ab10db305de
Author: Lukas Tönne
Date:   Mon Mar 9 11:35:21 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB16d259c842f78b5e0f7836c2e6d72ab10db305de

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