mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-15 21:15:59 +08:00
Merge pull request #220 from Selmar/doublesided_default_serialization
Doublesided default serialization
This commit is contained in:
commit
2f26eddac4
@ -6618,6 +6618,7 @@ static void SerializeGltfMaterial(Material &material, json &o) {
|
||||
SerializeStringProperty("alphaMode", material.alphaMode, o);
|
||||
}
|
||||
|
||||
if(material.doubleSided != false)
|
||||
JsonAddMember(o, "doubleSided", json(material.doubleSided));
|
||||
|
||||
if (material.normalTexture.index > -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user