mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Tango: doing mesh decimation only when texturing
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user