[*] Style. Intermediate commit.
parent
e61fc06c40
commit
a6ec0e4c7a
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue