mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +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