Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void SceneCheckCollisionResponse::doPrintSummary()
{
if(m_checkDone && m_message.str()!= "")
{
msg_warning(this->getName()) << m_message.str();
msg_error(this->getName()) << m_message.str();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void SceneCheckDeprecatedComponents::doCheckOn(Node* node)
{
if( deprecatedComponents.contains( o->getClassName() ))
{
msg_deprecated(o) << this->getName() << ": "
msg_error(o) << this->getName() << ": "
<< deprecatedComponents.at(o->getClassName()).getMessage();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void SceneCheckDuplicatedName::doPrintSummary()
{
if(m_hasDuplicates)
{
msg_warning(this->getName()) << msgendl
msg_error(this->getName()) << msgendl
<< m_duplicatedMsg.str()
<< "Nodes with similar names at the same level in your scene can "
"crash certain operations, please rename them";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void SceneCheckEmptyNodeName::doCheckOn(sofa::simulation::Node* node)

void SceneCheckEmptyNodeName::doPrintSummary()
{
msg_warning_when(m_nbNodesWithEmptyName > 0, getName()) << "Nodes with empty name are found in"
msg_error_when(m_nbNodesWithEmptyName > 0, getName()) << "Nodes with empty name are found in"
" the scene. This can lead to undefined behaviors. It is recommended to give a name to all Nodes.";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void SceneCheckMissingRequiredPlugin::printSummary(simulation::SceneLoader* scen
{
tmp << "Note that XML syntax is assumed in the suggested lines to add.";
}
msg_warning(this->getName())
msg_error(this->getName())
<< "This scene is using component defined in plugins but is not importing the required plugins." << msgendl
<< indent << "Your scene may not work on a sofa environment with different pre-loaded plugins." << msgendl
<< indent << "To fix your scene and remove this warning you just need to cut & paste the following lines at the beginning of your scene: " << msgendl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void SceneCheckUsingAlias::doPrintSummary()

if(i.first != m_componentsCreatedUsingAlias.rbegin()->first) usingAliasesWarning << msgendl;
}
msg_warning(this->getName()) << usingAliasesWarning.str();
msg_error(this->getName()) << usingAliasesWarning.str();

m_componentsCreatedUsingAlias.clear();
}
Expand Down
Loading