-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation Method only available for loading from file #154
Comments
these methods already have a ReadSettings argument, you can call: ParseGLB( bytes, ValidationMode.Strict);
ReadGLB( stream, ValidationMode.Strict); |
That's true but you can't validate before you read it. On those methods it's a try catch experience and I can't know what is happening with the GLB (there's no way to see why it's failing). I have a bunch of glb's that have assessors out of bounds. To fix it, I just need to update bounds of the arrays. |
you can create an instance of |
I actually tried but that method accepts a string. |
I'll review the code to see if there's a path through... it'll take some time |
Thanks. 😉 |
Hey,
The Validate method from ModelRoot available for models from a filePath.
Is it possible to add the same method for Stream or byte array (ParseGLB and ReadGLB)?
Thanks in advance.
The text was updated successfully, but these errors were encountered: