Update glTF2Asset.inl

pull/4786/head
Kim Kulling 2023-05-23 10:33:14 +02:00 committed by GitHub
parent 3a09fd0c85
commit b7a8c4ba75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1250,7 +1250,7 @@ inline void Material::Read(Value &material, Asset &r) {
ReadMember(material, "alphaCutoff", this->alphaCutoff);
if (Value *extensions = FindObject(material, "extensions")) {
if (r.extensionsUsed.KHR_materials_pbrSpecularGlossiness) {
if (r.extensionsUsed.KHR_materials_pbrSpecularGlossiness) {
if (Value *curPbrSpecularGlossiness = FindObject(*extensions, "KHR_materials_pbrSpecularGlossiness")) {
PbrSpecularGlossiness pbrSG;