Loading an in-memory mesh.snapshot() doesn't work. OFF formatting code seem correct, though... It seems that three bytes are missing, as a separate (known-good) implementation returns a memory area three bytes longer than when it crashes. Also, saving to file via OpenMesh works, too.
Bug came up after snapshotting a (good) mesh that was already loaded via the normal interface. Perhaps a vertex or triangle index-triple got overlooked while being loaded?
Loading an in-memory mesh.snapshot() doesn't work. OFF formatting code seem correct, though... It seems that three bytes are missing, as a separate (known-good) implementation returns a memory area three bytes longer than when it crashes. Also, saving to file via OpenMesh works, too.
Bug came up after snapshotting a (good) mesh that was already loaded via the normal interface. Perhaps a vertex or triangle index-triple got overlooked while being loaded?