mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Tango: fixed bug where black point clound is shown when visualizing a mesh with texture
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<!-- BEGIN_INCLUDE(manifest) -->
|
<!-- BEGIN_INCLUDE(manifest) -->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.introlab.rtabmap"
|
package="com.introlab.rtabmap"
|
||||||
android:versionCode="66"
|
android:versionCode="68"
|
||||||
android:versionName="@RTABMAP_VERSION@">
|
android:versionName="@RTABMAP_VERSION@">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
<uses-permission android:name="android.permission.CAMERA" />
|
||||||
|
|||||||
@@ -1169,13 +1169,6 @@ int RTABMapApp::Render()
|
|||||||
// revert state
|
// revert state
|
||||||
main_scene_.setMeshRendering(isMeshRendering, isTextureRendering);
|
main_scene_.setMeshRendering(isMeshRendering, isTextureRendering);
|
||||||
|
|
||||||
fpsTime.restart();
|
|
||||||
lastDrawnCloudsCount_ = main_scene_.Render();
|
|
||||||
if(renderingTime_ < fpsTime.elapsed())
|
|
||||||
{
|
|
||||||
renderingTime_ = fpsTime.elapsed();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(visLocalizationEvents.size())
|
if(visLocalizationEvents.size())
|
||||||
{
|
{
|
||||||
// send statistics to GUI
|
// send statistics to GUI
|
||||||
|
|||||||
Reference in New Issue
Block a user