Fix typos and spelling.
This commit is contained in:
committed by
Robert Osfield
parent
c3008512f1
commit
02c310982e
@@ -926,7 +926,7 @@ double SlideEventHandler::getDuration(const osg::Node* node) const
|
||||
void SlideEventHandler::set(osg::Node* model)
|
||||
{
|
||||
#if 0
|
||||
// pause all slides, then just reenable the current slide.
|
||||
// pause all slides, then just re-enable the current slide.
|
||||
ActivityUpdateCallbacksVisitor aucv(ALL_OBJECTS, true);
|
||||
aucv.setTraversalMode(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN);
|
||||
model->accept(aucv);
|
||||
|
||||
@@ -1002,7 +1002,7 @@ osg::Geometry* SlideShowConstructor::createTexturedQuadGeometry(const osg::Vec3&
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// pass back info on wether texture 2D is used.
|
||||
// pass back info on whether texture 2D is used.
|
||||
usedTextureRectangle = useTextureRectangle;
|
||||
|
||||
if (!texture)
|
||||
@@ -1053,7 +1053,7 @@ osg::Geometry* SlideShowConstructor::createTexturedQuadGeometry(const osg::Vec3&
|
||||
|
||||
OSG_INFO<<"Reading video "<<imageStream->getFileName()<<std::endl;
|
||||
#if USE_CLIENT_STORAGE_HINT
|
||||
// make sure that OSX uses the client storage extension to accelerate peformance where possible.
|
||||
// make sure that OSX uses the client storage extension to accelerate performance where possible.
|
||||
if (texture) texture->setClientStorageHint(true);
|
||||
#endif
|
||||
}
|
||||
@@ -1392,7 +1392,7 @@ void SlideShowConstructor::addImage(const std::string& filename, const PositionD
|
||||
subgraph = picture;
|
||||
}
|
||||
|
||||
// attach any meterial animation.
|
||||
// attach any material animation.
|
||||
if (positionData.requiresMaterialAnimation())
|
||||
subgraph = attachMaterialAnimation(subgraph,positionData);
|
||||
|
||||
@@ -1638,7 +1638,7 @@ void SlideShowConstructor::addStereoImagePair(const std::string& filenameLeft, c
|
||||
}
|
||||
}
|
||||
|
||||
// attach any meterial animation.
|
||||
// attach any material animation.
|
||||
if (positionData.requiresMaterialAnimation())
|
||||
subgraph = attachMaterialAnimation(subgraph,positionData)->asGroup();
|
||||
|
||||
@@ -1883,7 +1883,7 @@ osg::ref_ptr<osg::Image> SlideShowConstructor::addInteractiveImage(const std::st
|
||||
subgraph = picture;
|
||||
}
|
||||
|
||||
// attach any meterial animation.
|
||||
// attach any material animation.
|
||||
if (positionData.requiresMaterialAnimation())
|
||||
subgraph = attachMaterialAnimation(subgraph,positionData);
|
||||
|
||||
@@ -2308,7 +2308,7 @@ void SlideShowConstructor::addModel(osg::Node* subgraph, const PositionData& pos
|
||||
|
||||
|
||||
|
||||
// attach any meterial animation.
|
||||
// attach any material animation.
|
||||
if (positionData.requiresMaterialAnimation())
|
||||
subgraph = attachMaterialAnimation(subgraph,positionData);
|
||||
|
||||
|
||||
@@ -395,7 +395,7 @@ void Timeout::traverse(osg::NodeVisitor& nv)
|
||||
{
|
||||
if (strcmp(nv.className(),"FindOperatorsVisitor")==0)
|
||||
{
|
||||
OSG_NOTICE<<"Timout::traverse() "<<nv.className()<<", ignoring traversal"<<std::endl;
|
||||
OSG_NOTICE<<"Timeout::traverse() "<<nv.className()<<", ignoring traversal"<<std::endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user