[*] Style. Intermediate commit.

pull/972/head
Alexandr Arutjunov 2016-08-08 19:06:17 +03:00
parent e61fc06c40
commit a6ec0e4c7a
1 changed files with 3 additions and 5 deletions

View File

@ -306,9 +306,7 @@ void glTFImporter::ImportMeshes(glTF::Asset& r)
// if "bufferView" of current accessor is containing encoded data then set ID of region.
if(attr.normal[0]->bufferView->EncodedRegion_List.size() > 0) attr.normal[0]->bufferView->EncodedRegion_SetCurrent(mesh.name);
if (attr.normal.size() > 0 && attr.normal[0]) {
attr.normal[0]->ExtractData(aim->mNormals);
}
if (attr.normal.size() > 0 && attr.normal[0]) attr.normal[0]->ExtractData(aim->mNormals);
// if "bufferView" of current accessor is containing encoded data then set ID of region.
if((attr.texcoord.size() > 0) && (attr.texcoord[0]->bufferView->EncodedRegion_List.size() > 0))