From Chris Hanson, typo and comment clean ups

This commit is contained in:
Robert Osfield
2009-07-24 14:45:44 +00:00
parent 68c459ea30
commit 773ae51a45
14 changed files with 45 additions and 39 deletions

View File

@@ -1092,7 +1092,7 @@ void CullVisitor::apply(osg::ClearNode& node)
}
else
{
// we have an earth sky implementation to do the work for use
// we have an earth sky implementation to do the work for us
// so we don't need to clear.
getCurrentRenderBin()->getStage()->setClearMask(0);
}

View File

@@ -67,7 +67,7 @@ RenderBin* RenderBin::createRenderBin(const std::string& binName)
if (prototype) return dynamic_cast<RenderBin*>(prototype->clone(osg::CopyOp::DEEP_COPY_ALL));
}
osg::notify(osg::WARN) <<"Warning: RenderBin \""<<binName<<"\" implemention not found, using default RenderBin as a fallback."<<std::endl;
osg::notify(osg::WARN) <<"Warning: RenderBin \""<<binName<<"\" implementation not found, using default RenderBin as a fallback."<<std::endl;
return new RenderBin;
}
@@ -382,7 +382,7 @@ RenderBin* RenderBin::find_or_insert(int binNum,const std::string& binName)
RenderBinList::iterator itr = _bins.find(binNum);
if (itr!=_bins.end()) return itr->second.get();
// create a renderin bin and insert into bin list.
// create a rendering bin and insert into bin list.
RenderBin* rb = RenderBin::createRenderBin(binName);
if (rb)
{