From Jannik Heller, "In the attachment you will find a build fix for the latest trunk. osgAnimation failed to compile when using OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF ."

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14892 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield 2015-06-04 09:00:17 +00:00
parent 95f911e98c
commit 23cd6d2ba3

View File

@ -42,7 +42,7 @@ namespace osgAnimation
bool link(Channel* channel)
{
if (channel->getName().find("uniform") != std::string::npos)
return channel->setTarget(_uniformTarget);
return channel->setTarget(_uniformTarget.get());
else
OSG_WARN << "Channel " << channel->getName() << " does not contain a valid symbolic name for this class " << className() << std::endl;