Added a dirtyBound() to osgUtil::Optimizer.

Corrected mispelling of alignment is osg::Text and the osgtext demo.
Added guards for divide bu zero's to osg::IntersectVisitor.
This commit is contained in:
Robert Osfield
2001-11-07 12:42:08 +00:00
parent b3160c882e
commit e725547a8a
4 changed files with 96 additions and 77 deletions

View File

@@ -295,7 +295,9 @@ void Optimizer::FlattenStaticTransformsVisitor::apply(osg::Geode& geode)
for(int i=0;i<geode.getNumDrawables();++i)
{
geode.getDrawable(i)->applyAttributeOperation(tf);
geode.getDrawable(i)->dirtyBound();
}
geode.dirtyBound();
}
}