Removed the disabling of display lists in osg::Geometry to bring it back to it's original behaviour

This commit is contained in:
Robert Osfield
2009-10-21 14:11:00 +00:00
parent 2785ea4dfb
commit 23cfcb423f

View File

@@ -419,7 +419,7 @@ Geometry::Vec3ArrayData::Vec3ArrayData(const Vec3ArrayData& data,const CopyOp& c
Geometry::Geometry()
{
// temporary test
setSupportsDisplayList(false);
// setSupportsDisplayList(false);
_fastPath = false;
_fastPathHint = true;
@@ -436,7 +436,7 @@ Geometry::Geometry(const Geometry& geometry,const CopyOp& copyop):
_fastPathHint(geometry._fastPathHint)
{
// temporary test
setSupportsDisplayList(false);
// setSupportsDisplayList(false);
for(PrimitiveSetList::const_iterator pitr=geometry._primitives.begin();
pitr!=geometry._primitives.end();