diff --git a/app/android/jni/RTABMapApp.cpp b/app/android/jni/RTABMapApp.cpp index 2c1118dd..5070c7fd 100644 --- a/app/android/jni/RTABMapApp.cpp +++ b/app/android/jni/RTABMapApp.cpp @@ -1578,7 +1578,7 @@ bool RTABMapApp::exportMesh( if(mesh->polygons.size()) { - if(optimizedDecimationFactor > 0.0f) + if(textureSize > 0 && optimizedDecimationFactor > 0.0f) { #ifndef DISABLE_VTK unsigned int count = mesh->polygons.size(); diff --git a/app/android/res/values/strings.xml b/app/android/res/values/strings.xml index 071620cc..eafae3b1 100644 --- a/app/android/res/values/strings.xml +++ b/app/android/res/values/strings.xml @@ -484,7 +484,7 @@ Reconstruction Depth Lowering this parameter decreases reconstruction time, but geometry precision is lower. Mesh Decimation Factor - Reduce the number of the output polygons on plane areas by this factor. This also reduces texture projection time. + Reduce the number of the output polygons on plane areas by this factor. Only used when exporting with texture. This also reduces texture projection time. Color Radius Radius used to transfer nearest color from the point cloud to reconstructed mesh. Clean Mesh