Skip to content

Commit 4d0e0bd

Browse files
committed
added updateVertexCostsUpdateSubscription() when display type is toggled to Vertex Costs
1 parent e4e7d77 commit 4d0e0bd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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)