Fix typos and spelling.
This commit is contained in:
committed by
Robert Osfield
parent
c3008512f1
commit
02c310982e
@@ -51,7 +51,7 @@ Intersector* IntersectorGroup::clone(osgUtil::IntersectionVisitor& iv)
|
||||
{
|
||||
IntersectorGroup* ig = new IntersectorGroup;
|
||||
|
||||
// now copy across all intersectors that arn't disabled.
|
||||
// now copy across all intersectors that aren't disabled.
|
||||
for(Intersectors::iterator itr = _intersectors.begin();
|
||||
itr != _intersectors.end();
|
||||
++itr)
|
||||
|
||||
@@ -939,7 +939,7 @@ void CollectLowestTransformsVisitor::disableObject(ObjectMap::iterator itr)
|
||||
|
||||
if (itr->second._canBeApplied)
|
||||
{
|
||||
// we havn't been disabled yet so we need to disable,
|
||||
// we haven't been disabled yet so we need to disable,
|
||||
itr->second._canBeApplied = false;
|
||||
|
||||
// and then inform everybody we have been disabled.
|
||||
@@ -963,7 +963,7 @@ void CollectLowestTransformsVisitor::disableTransform(osg::Transform* transform)
|
||||
if (itr->second._canBeApplied)
|
||||
{
|
||||
|
||||
// we havn't been disabled yet so we need to disable,
|
||||
// we haven't been disabled yet so we need to disable,
|
||||
itr->second._canBeApplied = false;
|
||||
// and then inform everybody we have been disabled.
|
||||
for(TransformStruct::ObjectSet::iterator oitr = itr->second._objectSet.begin();
|
||||
|
||||
@@ -913,7 +913,7 @@ bool SceneView::cullStage(const osg::Matrixd& projection,const osg::Matrixd& mod
|
||||
// note, this would be not required if the rendergraph had been
|
||||
// reset at the start of each frame (see top of this method) but
|
||||
// a clean has been used instead to try to minimize the amount of
|
||||
// allocation and deleteing of the StateGraph nodes.
|
||||
// allocation and deleting of the StateGraph nodes.
|
||||
rendergraph->prune();
|
||||
|
||||
// set the number of dynamic objects in the scene.
|
||||
@@ -957,7 +957,7 @@ void SceneView::draw()
|
||||
|
||||
osg::State* state = _renderInfo.getState();
|
||||
|
||||
// we in theory should be able to be able to bypass reset, but we'll call it just incase.
|
||||
// we in theory should be able to be able to bypass reset, but we'll call it just in case.
|
||||
//_state->reset();
|
||||
state->setFrameStamp(_frameStamp.get());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user