@@ -1088,7 +1088,7 @@ void ColladaLoader::Implementation::LoadAnimationSet(tinyxml2::XMLElement *_xml,
10881088 else
10891089 {
10901090 gzerr << " Failed to find node with ID [" << targetBone << " ]"
1091- << std::endl;
1091+ << std::endl;
10921092 }
10931093 }
10941094
@@ -1892,13 +1892,13 @@ MaterialPtr ColladaLoader::Implementation::LoadMaterial(
18921892 tinyxml2::XMLElement *effectXml = this ->ElementId (" effect" , effectName);
18931893
18941894 tinyxml2::XMLElement *commonXml =
1895- effectXml->FirstChildElement (" profile_COMMON" );
1895+ effectXml->FirstChildElement (" profile_COMMON" );
18961896 if (commonXml)
18971897 {
18981898 tinyxml2::XMLElement *techniqueXml =
1899- commonXml->FirstChildElement (" technique" );
1899+ commonXml->FirstChildElement (" technique" );
19001900 tinyxml2::XMLElement *lambertXml =
1901- techniqueXml->FirstChildElement (" lambert" );
1901+ techniqueXml->FirstChildElement (" lambert" );
19021902
19031903 tinyxml2::XMLElement *phongXml = techniqueXml->FirstChildElement (" phong" );
19041904 tinyxml2::XMLElement *blinnXml = techniqueXml->FirstChildElement (" blinn" );
@@ -2725,7 +2725,7 @@ void ColladaLoader::Implementation::LoadTriangles(
27252725 if (nullptr == node)
27262726 {
27272727 gzerr << " Failed to find skeleton node named ["
2728- << node_weight.first << " ]" << std::endl;
2728+ << node_weight.first << " ]" << std::endl;
27292729 continue ;
27302730 }
27312731 subMesh->AddNodeAssignment (subMesh->VertexCount ()-1 ,
@@ -2777,7 +2777,6 @@ void ColladaLoader::Implementation::LoadTriangles(
27772777 }
27782778 }
27792779
2780-
27812780 _mesh->AddSubMesh (std::move (subMesh));
27822781}
27832782
0 commit comments