Stykka / glTF-Bin

[Deprecated See https://github.com/mcneel/glTF-IO] glTF exporter for Rhinoceros. Supports: mode-text, mode-binary, binary-draco, materials, and textures.
MIT License
31 stars 18 forks source link

User model bugs #39

Closed jrz371 closed 3 years ago

jrz371 commented 3 years ago

Fixes a few bugs I encountered with some user models I got from the forum

  1. Added a null check before checking if a texture is linear
  2. Filter out empty meshes. These can slip in occasionally, usually with trimmed objects
  3. Fixed exceptions when writing a glb file when the binary buffer is empty. Shouldn't usually happen but it's a good sanity check.
  4. I also stopped generating a AssemblyInfo.cs for the Windows project. That file has redefinitions for things like version numbers and was making the build a pain. There's currently a shared one we should be relying on.