assimp / assimp-docs

The Asset-Importer-Lib Documentation repository.
MIT License
17 stars 20 forks source link

Incorrect logic when checking if the import failed #18

Closed ghost closed 2 years ago

ghost commented 2 years ago

Under https://assimp-docs.readthedocs.io/en/latest/usage/use_the_lib.html

You have image

Has to be if (NULL == scene) or (scene == NULL) otherwise the error is never thrown. Same goes for C++ api

kimkulling commented 2 years ago

Thanks a lot for your report. The issue shall be fixed.