Build fix for when ref_ptr<> auto conversion is disabled

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14565 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-12-04 15:10:43 +00:00
parent 5efe60dcf5
commit f8d53b7c8d
2 changed files with 6 additions and 6 deletions

View File

@@ -342,7 +342,7 @@ public:
virtual void apply(osg::Drawable& drawable)
{
if (_kdTreeBuilder.valid() && _markerObject!=drawable.getUserData())
if (_kdTreeBuilder.valid() && _markerObject.get()!=drawable.getUserData())
{
drawable.accept(*_kdTreeBuilder);
}
@@ -360,7 +360,7 @@ public:
{
// apply any changes if the texture is not static.
if (texture.getDataVariance()!=osg::Object::STATIC &&
_markerObject!=texture.getUserData())
_markerObject.get()!=texture.getUserData())
{
if (_changeAutoUnRef)
{