From b1444f34cf61dc321728ff4c04f997e46293dd7a Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 19 Jun 2019 21:15:47 +0800 Subject: [PATCH] fix the issue of converting the double to single. --- examples/Importers/ImportURDFDemo/UrdfParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Importers/ImportURDFDemo/UrdfParser.cpp b/examples/Importers/ImportURDFDemo/UrdfParser.cpp index d6facb8f2..65f9ac431 100644 --- a/examples/Importers/ImportURDFDemo/UrdfParser.cpp +++ b/examples/Importers/ImportURDFDemo/UrdfParser.cpp @@ -27,7 +27,7 @@ static bool parseVector4(btVector4& vec4, const std::string& vector_str) { vec4.setZero(); btArray pieces; - btArray rgba; + btArray rgba; btAlignedObjectArray strArray; urdfIsAnyOf(" ", strArray); urdfStringSplit(pieces, vector_str, strArray); @@ -50,7 +50,7 @@ static bool parseVector3(btVector3& vec3, const std::string& vector_str, ErrorLo { vec3.setZero(); btArray pieces; - btArray rgba; + btArray rgba; btAlignedObjectArray strArray; urdfIsAnyOf(" ", strArray); urdfStringSplit(pieces, vector_str, strArray);