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

@@ -2,7 +2,7 @@
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.introlab.rtabmap"
android:versionCode="66"
android:versionCode="68"
android:versionName="@RTABMAP_VERSION@">
<uses-permission android:name="android.permission.CAMERA" />

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