fix issue in MJCF importer due to previous commit

This commit is contained in:
Erwin Coumans
2019-05-30 16:13:03 -07:00
parent 1933661124
commit 9d2a527d87

View File

@@ -1461,7 +1461,6 @@ bool BulletMJCFImporter::loadMJCF(const char* fileName, MJCFErrorLogger* logger,
{ {
xml_string += (std::string(destBuffer) + "\n"); xml_string += (std::string(destBuffer) + "\n");
} }
while (line);
m_data->m_fileIO->fileClose(fileId); m_data->m_fileIO->fileClose(fileId);
if (parseMJCFString(xml_string.c_str(), logger)) if (parseMJCFString(xml_string.c_str(), logger))