From 9903504c42f62c8caf1a7ed8a852e1ff8d7ca97f Mon Sep 17 00:00:00 2001 From: Matias Date: Thu, 9 May 2019 14:57:18 +0200 Subject: [PATCH] Removed some code that I didn't mean to fix (I already submitted this in another PR: https://github.com/assimp/assimp/pull/2450). --- code/FBXExportNode.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/FBXExportNode.cpp b/code/FBXExportNode.cpp index 06c89cee4..8cb12d619 100644 --- a/code/FBXExportNode.cpp +++ b/code/FBXExportNode.cpp @@ -253,8 +253,7 @@ void FBX::Node::DumpChildren( } else { std::ostringstream ss; DumpChildrenAscii(ss, indent); - if (ss.tellp() > 0) - s.PutString(ss.str()); + s.PutString(ss.str()); } } @@ -268,8 +267,7 @@ void FBX::Node::End( } else { std::ostringstream ss; EndAscii(ss, indent, has_children); - if (ss.tellp() > 0) - s.PutString(ss.str()); + s.PutString(ss.str()); } }