From 1098a84d37be2956e7dc572c335c69b118e36ae9 Mon Sep 17 00:00:00 2001 From: frederik Date: Fri, 12 Jan 2024 10:25:41 +0100 Subject: [PATCH] more linting changes Signed-off-by: frederik --- graphics/src/ColladaLoader.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/graphics/src/ColladaLoader.cc b/graphics/src/ColladaLoader.cc index c69dd4e8..a13e15a1 100644 --- a/graphics/src/ColladaLoader.cc +++ b/graphics/src/ColladaLoader.cc @@ -1088,7 +1088,7 @@ void ColladaLoader::Implementation::LoadAnimationSet(tinyxml2::XMLElement *_xml, else { gzerr << "Failed to find node with ID [" << targetBone << "]" - << std::endl; + << std::endl; } } @@ -1892,13 +1892,13 @@ MaterialPtr ColladaLoader::Implementation::LoadMaterial( tinyxml2::XMLElement *effectXml = this->ElementId("effect", effectName); tinyxml2::XMLElement *commonXml = - effectXml->FirstChildElement("profile_COMMON"); + effectXml->FirstChildElement("profile_COMMON"); if (commonXml) { tinyxml2::XMLElement *techniqueXml = - commonXml->FirstChildElement("technique"); + commonXml->FirstChildElement("technique"); tinyxml2::XMLElement *lambertXml = - techniqueXml->FirstChildElement("lambert"); + techniqueXml->FirstChildElement("lambert"); tinyxml2::XMLElement *phongXml = techniqueXml->FirstChildElement("phong"); tinyxml2::XMLElement *blinnXml = techniqueXml->FirstChildElement("blinn"); @@ -2725,7 +2725,7 @@ void ColladaLoader::Implementation::LoadTriangles( if (nullptr == node) { gzerr << "Failed to find skeleton node named [" - << node_weight.first << "]" << std::endl; + << node_weight.first << "]" << std::endl; continue; } subMesh->AddNodeAssignment(subMesh->VertexCount()-1, @@ -2777,7 +2777,6 @@ void ColladaLoader::Implementation::LoadTriangles( } } - _mesh->AddSubMesh(std::move(subMesh)); }