Skip to content

Commit

Permalink
Fix: Use correct test against erroreous import.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimkulling committed Feb 21, 2023
1 parent 5595b2c commit 9f1b037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/usage/use_the_lib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ results and then simply let it go out of scope.
aiProcess_SortByPType);

// If the import failed, report it
if (nullptr != scene) {
if (nullptr == scene) {
DoTheErrorLogging( importer.GetErrorString());
return false;
}
Expand Down

0 comments on commit 9f1b037

Please sign in to comment.