Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make camera clear error message if there's no error
  • Loading branch information
ShadowNinja committed Mar 28, 2015
1 parent 5659434 commit 3ef0b4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/camera.cpp
Expand Up @@ -131,6 +131,8 @@ bool Camera::successfullyCreated(std::string &error_message)
error_message = "Failed to create the wielded item scene manager";
} else if (!m_wieldnode) {
error_message = "Failed to create the wielded item scene node";
} else {
error_message.clear();
}
return error_message.empty();
}
Expand Down

0 comments on commit 3ef0b4e

Please sign in to comment.