Fixed std:: prefix and reinitialized variable for gcc 3.2
This commit is contained in:
parent
493d86fc73
commit
c735c379af
@ -244,7 +244,7 @@ void CreateShadowTextureCullCallback::doPreRender(osg::Node& node, osgUtil::Cull
|
||||
|
||||
// set up a light source with the shadower and shodower subgraphs below it
|
||||
// with the appropriate callbacks set up.
|
||||
osg::Group* createShadowedScene(osg::Node* shadower,osg::Node* shadowed,const osg::Vec3& lightPosition,float radius,unsigned int textureUnit=1)
|
||||
osg::Group* createShadowedScene(osg::Node* shadower,osg::Node* shadowed,const osg::Vec3& lightPosition,float radius,unsigned int textureUnit)
|
||||
{
|
||||
osg::LightSource* lightgroup = new osg::LightSource;
|
||||
|
||||
|
@ -328,7 +328,7 @@ bool Geometry::removePrimitiveSet(unsigned int i, unsigned int numElementsToRemo
|
||||
// asking to delete too many elements, report a warning, and delete to
|
||||
// the end of the primitive list.
|
||||
notify(WARN)<<"Warning: osg::Geometry::removePrimitiveSet(i,numElementsToRemove) has been asked to remove more elements than are available,"<<std::endl;
|
||||
notify(WARN)<<" removing on from i to the end of the list of primitive sets."<<endl;
|
||||
notify(WARN)<<" removing on from i to the end of the list of primitive sets."<<std::endl;
|
||||
_primitives.erase(_primitives.begin()+i,_primitives.end());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user