Skip to content

Lower severity level for ogre2 visibility mask msgs and unavailable render passes #830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions ogre2/src/Ogre2Camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,11 @@ void Ogre2Camera::SetVisibilityMask(uint32_t _mask)
{
if (_mask & ~Ogre::VisibilityFlags::RESERVED_VISIBILITY_FLAGS)
{
ignerr << "Ogre2Camera::SetVisibilityMask: Mask bits " << std::hex
<< ~Ogre::VisibilityFlags::RESERVED_VISIBILITY_FLAGS << std::dec
<< " are set but will be ignored by ogre2 backend." << std::endl;
ignwarn << "Ogre2Camera::SetVisibilityMask: Mask bits " << std::hex
<< ~Ogre::VisibilityFlags::RESERVED_VISIBILITY_FLAGS << std::dec
<< " are set but will be ignored as they conflict with the "
<< "reserved bits used internally by the ogre2 backend."
<< std::endl;
}
BaseSensor::SetVisibilityMask(_mask);
if (this->renderTexture)
Expand Down
4 changes: 2 additions & 2 deletions src/RenderPassSystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ RenderPassPtr RenderPassSystem::CreateImpl(const std::string &_type)
}
else
{
ignerr << "RenderPass of typeid '" << _type << "' is not registered"
<< std::endl;
ignwarn << "RenderPass of typeid '" << _type << "' is not registered"
<< std::endl;
}
return pass;
}
Expand Down