We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87742e4 commit d30cda4Copy full SHA for d30cda4
src/rviz/default_plugin/markers/text_view_facing_marker.cpp
@@ -57,6 +57,8 @@ void TextViewFacingMarker::onNewMessage(const MarkerConstPtr& old_message, const
57
{
58
ROS_ASSERT(new_message->type == visualization_msgs::Marker::TEXT_VIEW_FACING);
59
60
+ if(new_message->text.empty()|| new_message->text.find_first_not_of(" \t\n\v\f\r") == std::string::npos)
61
+ return;
62
if (!text_)
63
64
text_ = new MovableText(new_message->text);
0 commit comments