Build fixes for build without ref_ptr<> automatic type conversion

This commit is contained in:
Robert Osfield
2010-01-31 18:24:01 +00:00
parent 079b7653bd
commit 380fb17fa9
5 changed files with 10 additions and 21 deletions

View File

@@ -52,7 +52,7 @@ bool UpdateMatrixTransform::link(osgAnimation::Channel* channel)
// check if we can link a StackedTransformElement to the current Channel
for (StackedTransform::iterator it = _transforms.begin(); it != _transforms.end(); ++it)
{
StackedTransformElement* element = *it;
StackedTransformElement* element = it->get();
if (element && !element->getName().empty() && channelName == element->getName())
{
Target* target = element->getOrCreateTarget();