Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed crash when loading invalid 3MFs (SPE-2135)
The crash was introduced in 040a846, which completely threw away handling of the return value of the importer.load_model_from_file function and replaced it with weaker condition. The purpose of that change was to solve #8401 (missing error message when loading different invalid 3MF). This commit reverts that change (and reintroduces #8401). Handling of 3MF loading errors should be inside the importer.load_model_from_file function, where the check should be added later.
- Loading branch information