From Jannik Heller, typo fixes
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14826 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -126,7 +126,7 @@ int main( int argc, char **argv )
|
||||
|
||||
if (!loadedModel)
|
||||
{
|
||||
osg::notify(osg::NOTICE)<<"Please specifiy a filename and the command line"<<std::endl;
|
||||
osg::notify(osg::NOTICE)<<"Please specify a filename on the command line"<<std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* OpenSceneGraph example, osganimate.
|
||||
/* OpenSceneGraph example, osgkeystone.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* OpenSceneGraph example, osganimate.
|
||||
/* OpenSceneGraph example, osgmemorytest.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* OpenSceneGraph example, osganimate.
|
||||
/* OpenSceneGraph example, osgocclusionquery.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -365,7 +365,7 @@ void PosterPrinter::bindCameraToImage( osg::Camera* camera, int row, int col )
|
||||
camera->accept( iv );
|
||||
if ( _intersector->containsIntersections() )
|
||||
{
|
||||
// Apply a cull calback to every paged node obtained, to force the highest level displaying.
|
||||
// Apply a cull callback to every paged node obtained, to force the highest level displaying.
|
||||
// This will be done by the PosterVisitor, who already records all the paged nodes.
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* OpenSceneGraph example, osganimate.
|
||||
/* OpenSceneGraph example, oldshadercomposition.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* O penSceneGraph example, osganimate.
|
||||
/* OpenSceneGraph example, osgshadercomposition.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -126,13 +126,13 @@ class AnimateTexGenCallback : public osg::NodeCallback
|
||||
|
||||
if (texgenNode && nv->getFrameStamp())
|
||||
{
|
||||
// we have an exisitng stateset, so lets animate it.
|
||||
// we have an existing stateset, so lets animate it.
|
||||
animateTexGen(texgenNode,nv->getFrameStamp()->getSimulationTime());
|
||||
}
|
||||
|
||||
// note, callback is repsonsible for scenegraph traversal so
|
||||
// note, callback is responsible for scenegraph traversal so
|
||||
// should always include call the traverse(node,nv) to ensure
|
||||
// that the rest of cullbacks and the scene graph are traversed.
|
||||
// that the rest of callbacks and the scene graph are traversed.
|
||||
traverse(node,nv);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -87,7 +87,7 @@ public:
|
||||
// update filter modes and text.
|
||||
setValues();
|
||||
|
||||
// advance the current positon, wrap round if required.
|
||||
// advance the current position, wrap round if required.
|
||||
_currPos++;
|
||||
if (_currPos>=_minFilterList.size()) _currPos=0;
|
||||
|
||||
@@ -246,7 +246,7 @@ public:
|
||||
// update filter modes and text.
|
||||
setValues();
|
||||
|
||||
// advance the current positon, wrap round if required.
|
||||
// advance the current position, wrap round if required.
|
||||
_currPos++;
|
||||
if (_currPos>=_maxAnisotropyList.size()) _currPos=0;
|
||||
|
||||
@@ -402,7 +402,7 @@ public:
|
||||
// update filter modes and text.
|
||||
setValues();
|
||||
|
||||
// advance the current positon, wrap round if required.
|
||||
// advance the current position, wrap round if required.
|
||||
_currPos++;
|
||||
if (_currPos>=_wrapList.size()) _currPos=0;
|
||||
|
||||
@@ -596,7 +596,7 @@ public:
|
||||
// update filter modes and text.
|
||||
setValues();
|
||||
|
||||
// advance the current positon, wrap round if required.
|
||||
// advance the current position, wrap round if required.
|
||||
_currPos++;
|
||||
if (_currPos>=_imageList.size()) _currPos=0;
|
||||
|
||||
|
||||
@@ -132,13 +132,13 @@ class UpdateStateCallback : public osg::NodeCallback
|
||||
osg::StateSet* stateset = node->getStateSet();
|
||||
if (stateset)
|
||||
{
|
||||
// we have an exisitng stateset, so lets animate it.
|
||||
// we have an existing stateset, so lets animate it.
|
||||
animateState(stateset);
|
||||
}
|
||||
|
||||
// note, callback is repsonsible for scenegraph traversal so
|
||||
// note, callback is responsible for scenegraph traversal so
|
||||
// should always include call the traverse(node,nv) to ensure
|
||||
// that the rest of cullbacks and the scene graph are traversed.
|
||||
// that the rest of callbacks and the scene graph are traversed.
|
||||
traverse(node,nv);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -584,7 +584,7 @@ int main(int argc, char ** argv)
|
||||
}
|
||||
else if (tf.valid())
|
||||
{
|
||||
// No exisitng trasfer function but need to assign one
|
||||
// No existing transfer function but need to assign one
|
||||
OSG_NOTICE<<"Need to assign transfer function to CompositeProperty"<<std::endl;
|
||||
InsertTransferFunctionPropertyVisitor itfpv(tf.get());
|
||||
property->accept(itfpv);
|
||||
|
||||
Reference in New Issue
Block a user