Ultimaker/CuraEngine — pull request #111 by cyberjoac (2014-06-28 15:19:19+00:00)
Title: Handling correctly both the Ascii models and Binary models.

Now returns the asciiModel, previously there was no possibility for the ascii SimpleModel* to be returned but only the Binary model.

In other words, the previous code would return a model that would be parsed using the binary parser even for the Ascii files which obviously would not give satisfying results.

For reference, the extra logic after the if(!asciiModel) was the result of a previous commit that would handle the case where the model starts with solid but is actually a binary file (I think openScad produces those files).