mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 09:04:36 +00:00
Removed unused filter enum that caused crashing at starting
This commit is contained in:
parent
79a9d294e7
commit
77fa4859ce
@ -67,7 +67,6 @@ FilterColorProc::FilterColorProc()
|
||||
<< CP_TEXTURE_TO_VERTEX
|
||||
<< CP_VERTEX_TO_FACE
|
||||
<< CP_MESH_TO_FACE
|
||||
<< CP_COLOR_NON_TOPO_COHERENT
|
||||
<< CP_RANDOM_FACE
|
||||
<< CP_RANDOM_CONNECTED_COMPONENT ;
|
||||
|
||||
@ -872,7 +871,7 @@ switch(ID(filter))
|
||||
srcImgs.resize(m->cm.textures.size());
|
||||
QString path;
|
||||
|
||||
for (int textInd = 0; textInd < m->cm.textures.size(); textInd++)
|
||||
for (size_t textInd = 0; textInd < m->cm.textures.size(); textInd++)
|
||||
{
|
||||
path = m->fullName();
|
||||
path = path.left(std::max<int>(path.lastIndexOf('\\'), path.lastIndexOf('/')) + 1).append(m->cm.textures[textInd].c_str());
|
||||
|
||||
@ -60,7 +60,6 @@ public:
|
||||
CP_TEXTURE_TO_VERTEX,
|
||||
CP_VERTEX_TO_FACE,
|
||||
CP_MESH_TO_FACE,
|
||||
CP_COLOR_NON_TOPO_COHERENT,
|
||||
CP_RANDOM_FACE,
|
||||
CP_RANDOM_CONNECTED_COMPONENT
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user