Formatting

pull/1423/head
Daniel Hritzkiv 2017-09-08 16:32:00 -04:00
parent b1a5ca4516
commit cde29c937c
No known key found for this signature in database
GPG Key ID: D1D19875679D5CBF
1 changed files with 2 additions and 4 deletions

View File

@ -389,8 +389,6 @@ void glTF2Exporter::GetMatColor(const aiMaterial* mat, vec3& prop, const char* p
void glTF2Exporter::ExportMaterials()
{
bool& KHR_materials_pbrSpecularGlossiness = mAsset->extensionsUsed.KHR_materials_pbrSpecularGlossiness;
aiString aiName;
for (unsigned int i = 0; i < mScene->mNumMaterials; ++i) {
const aiMaterial* mat = mScene->mMaterials[i];
@ -442,8 +440,8 @@ void glTF2Exporter::ExportMaterials()
if (hasPbrSpecularGlossiness) {
if (!KHR_materials_pbrSpecularGlossiness) {
KHR_materials_pbrSpecularGlossiness = true;
if (!mAsset->extensionsUsed.KHR_materials_pbrSpecularGlossiness) {
mAsset->extensionsUsed.KHR_materials_pbrSpecularGlossiness = true;
}
PbrSpecularGlossiness pbrSG;