mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-20 09:47:56 -05:00
Fix a default value of glTFTexture.bufferView (Use 0 intead to save compatibility).
This commit is contained in:
parent
b99a2c39ea
commit
120dc42901
|
|
@ -49,8 +49,8 @@ namespace UniGLTF
|
|||
public string name;
|
||||
public string uri;
|
||||
|
||||
[JsonSchema(Dependencies = new string[] { "mimeType" }, Minimum = 0, ExplicitIgnorableValue = -1)]
|
||||
public int bufferView = -1;
|
||||
[JsonSchema(Dependencies = new string[] { "mimeType" }, Minimum = 0)]
|
||||
public int bufferView;
|
||||
|
||||
[JsonSchema(EnumValues = new object[] { "image/jpeg", "image/png" }, EnumSerializationType =EnumSerializationType.AsString)]
|
||||
public string mimeType;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user