Merged fix to merge geometries.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14265 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
parent
4ec4e88f85
commit
7295258d71
@ -2022,7 +2022,7 @@ bool Optimizer::MergeGeometryVisitor::mergeGeode(osg::Geode& geode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// push back if bellow the limit
|
// push back if bellow the limit
|
||||||
if (numVertices<_targetMaximumNumberOfVertices)
|
if (eachGeom==duplicateList.end())
|
||||||
{
|
{
|
||||||
if (duplicateList.size()>1) needToDoMerge = true;
|
if (duplicateList.size()>1) needToDoMerge = true;
|
||||||
mergeList.push_back(duplicateList);
|
mergeList.push_back(duplicateList);
|
||||||
|
Loading…
Reference in New Issue
Block a user