mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-25 12:05:08 -05:00
Fix a default value of glTFTexture.bufferView (Use 0 intead to save compatibility).
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user