Fix typo in <visual_scene>

Swapped Id and Name
pull/3188/head
RichardTea 2020-05-05 09:51:41 +01:00
parent fa1d2f09db
commit d1ae6ac77a
1 changed files with 2 additions and 2 deletions

View File

@ -1226,8 +1226,8 @@ void ColladaExporter::WriteFloatArray(const std::string &pIdString, FloatDataTyp
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
// Writes the scene library // Writes the scene library
void ColladaExporter::WriteSceneLibrary() { void ColladaExporter::WriteSceneLibrary() {
const std::string sceneName = GetNodeUniqueId(mScene->mRootNode); const std::string sceneId = GetNodeUniqueId(mScene->mRootNode);
const std::string sceneId = GetNodeName(mScene->mRootNode); const std::string sceneName = GetNodeName(mScene->mRootNode);
mOutput << startstr << "<library_visual_scenes>" << endstr; mOutput << startstr << "<library_visual_scenes>" << endstr;
PushTag(); PushTag();