Skip to content

Commit

Permalink
[SofaMeshCollision] replace msg_warning by msg_error when init failed…
Browse files Browse the repository at this point in the history
… and set componentState to Invalid
  • Loading branch information
epernod committed Mar 13, 2019
1 parent f6a127f commit dffc2bb
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -98,7 +98,9 @@ void TriangleLocalMinDistanceFilter::init()

if(mstateVec3d == NULL)
{
msg_warning() << "Init failed for TriangleLocalMinDistanceFilter no mstateVec3d found.";
msg_error() << "Init failed for TriangleLocalMinDistanceFilter no mstateVec3d found.";
this->m_componentstate = sofa::core::objectmodel::ComponentState::Invalid;
return;
}

if (bmt != nullptr)
Expand Down

0 comments on commit dffc2bb

Please sign in to comment.