mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-14 05:05:54 +08:00
revert some local modifications, oops.... >_>
This commit is contained in:
parent
79e3df26a8
commit
f29375f59b
@ -4214,7 +4214,6 @@ static bool ParseMaterial(Material *material, std::string *err, const json &o) {
|
||||
}
|
||||
}
|
||||
|
||||
/* ASOBO_MOD:: do not read these values, because they are not serialized and will make Material::operator==() return false after serialize/parse/compare
|
||||
// Old code path. For backward compatibility, we still store material values
|
||||
// as Parameter. This will create duplicated information for
|
||||
// example(pbrMetallicRoughness), but should be neglible in terms of memory
|
||||
@ -4256,7 +4255,6 @@ static bool ParseMaterial(Material *material, std::string *err, const json &o) {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/ //::ASOBO_MOD
|
||||
|
||||
material->extensions.clear();
|
||||
ParseExtensionsProperty(&material->extensions, err, o);
|
||||
|
Loading…
x
Reference in New Issue
Block a user