Skip to content

Commit 0677ae6

Browse files
authored
Merge pull request #66 from naturerobots/fix/toggle-display-type
Update VertexCostsUpdate Subscription when Display Type is toggled
2 parents e4e7d77 + 4d0e0bd commit 0677ae6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rviz_mesh_tools_plugins/src/MeshDisplay.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,10 @@ void MeshDisplay::updateDisplayType()
691691
{
692692
updateVertexCostsSubscription();
693693
}
694+
if (!m_costsUpdateMsgCache)
695+
{
696+
updateVertexCostsUpdateSubscription();
697+
}
694698
}
695699
m_vertexCostsRefreshRate->show();
696700
m_selectVertexCostMap->show();

0 commit comments

Comments
 (0)