Commit a339be24 authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[FIX #729] changed OSG name of post processing proxy plane to avoid being picked

parent 25585790
......@@ -55,7 +55,7 @@ void WGEOffscreenTexturePass::setup()
osg::ref_ptr< osg::Geode > geode = wge::genFinitePlane( osg::Vec3( 0.0, 0.0, 0.0 ),
osg::Vec3( 1.0, 0.0, 0.0 ),
osg::Vec3( 0.0, 1.0, 0.0 ) );
geode->setName( "Offscreen Rendering Proxy Plane" );
geode->setName( "_Offscreen Rendering Proxy Plane" );
// setup the texture matrix scaler to the geode
......
......@@ -140,7 +140,7 @@ osg::ref_ptr< osg::Node > WMSurfaceParameterAnimator::renderSurface( const WBoun
// use the OSG Shapes, create unit cube
osg::ref_ptr< osg::Node > cube = wge::generateSolidBoundingBoxNode( bbox, m_isoColor->get( true ) );
cube->addUpdateCallback( new SafeUpdateCallback( this ) );
cube->asTransform()->getChild( 0 )->setName( "DVR Proxy Cube" ); // Be aware that this name is used in the pick handler.
cube->asTransform()->getChild( 0 )->setName( "_DVR Proxy Cube" ); // Be aware that this name is used in the pick handler.
m_shader->apply( cube );
// bind the texture to the node
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment