Tango: fixed bug where black point clound is shown when visualizing a mesh with texture

This commit is contained in:
matlabbe
2017-10-19 20:58:51 +02:00
parent 37a9712532
commit b3149a2b55
2 changed files with 1 additions and 8 deletions

View File

@@ -1169,13 +1169,6 @@ int RTABMapApp::Render()
// revert state
main_scene_.setMeshRendering(isMeshRendering, isTextureRendering);
fpsTime.restart();
lastDrawnCloudsCount_ = main_scene_.Render();
if(renderingTime_ < fpsTime.elapsed())
{
renderingTime_ = fpsTime.elapsed();
}
if(visLocalizationEvents.size())
{
// send statistics to GUI