Skip to content

Commit

Permalink
more linting changes
Browse files Browse the repository at this point in the history
Signed-off-by: frederik <[email protected]>
  • Loading branch information
frede791 committed Jan 12, 2024
1 parent c22b4d9 commit 1098a84
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions graphics/src/ColladaLoader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ void ColladaLoader::Implementation::LoadAnimationSet(tinyxml2::XMLElement *_xml,
else
{
gzerr << "Failed to find node with ID [" << targetBone << "]"
<< std::endl;
<< std::endl;
}
}

Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -2777,7 +2777,6 @@ void ColladaLoader::Implementation::LoadTriangles(
}
}


_mesh->AddSubMesh(std::move(subMesh));
}

Expand Down

0 comments on commit 1098a84

Please sign in to comment.