Skip to content

Commit

Permalink
MFD: Don't process messages when disabled (#1765)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke authored Aug 8, 2022
1 parent 34ac2fc commit aad08ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/message_filter_display.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class MessageFilterDisplay : public _RosTopicDisplay
* processMessage(). */
void incomingMessage(const typename MessageType::ConstPtr& msg)
{
if (!msg)
if (!msg || !isEnabled())
{
return;
}
Expand Down

0 comments on commit aad08ff

Please sign in to comment.