Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is disabled

This commit is contained in:
Robert Osfield
2010-09-17 13:33:09 +00:00
parent b0db0382f5
commit 4daad70d17
5 changed files with 10 additions and 9 deletions

View File

@@ -93,7 +93,7 @@ void POVWriterNodeVisitor::apply( Geode& node )
itr != dl.end(); ++itr)
{
// get drawable
const Drawable *d = *itr;
const Drawable *d = itr->get();
// push state set
const StateSet *ss = d->getStateSet();
@@ -103,12 +103,12 @@ void POVWriterNodeVisitor::apply( Geode& node )
Matrix m = _transformationStack.top();
// process lights
processLights( _stateSetStack.top(), m );
processLights( _stateSetStack.top().get(), m );
// process geometry
const Geometry *g = d->asGeometry();
if( g )
processGeometry( g, _stateSetStack.top(), m );
processGeometry( g, _stateSetStack.top().get(), m );
// pop state set
if( ss ) popStateSet( ss );