Comment 4 for bug 1404751

Revision history for this message
Peter Gulyas (pzgulyas) wrote : Re: Cannot run with a defective shape

Thank you for the reference!

I still think writing a full-featured validator for MSTS .s format is not worth the effort. It must have been done by the MSTS developers, when they wrote their GMAX export plugin. This .s shape format now is not our future, it is our past. In the future we would rather implement a more recent and more widely supported format, for which the validator is also available.

And think of it: If the content creator does not care about his model displaying faulty, why would we care about it? At best, we can get around the infinite loop and write a warning line into the log file about e.g. index out of range. But in neither case we would disallow displaying any shape that otherwise don't crash the program.