From Paul Martz, "Attached is a modification to OcclusionQueryNode. The copy constructor was failing to initialize all member variables. This change resolves the issue. Thanks to Doug McCorkle for testing and finding the bug."
This commit is contained in:
parent
45c6bbb577
commit
a87c98857c
@ -521,9 +521,12 @@ OcclusionQueryNode::~OcclusionQueryNode()
|
||||
}
|
||||
|
||||
OcclusionQueryNode::OcclusionQueryNode( const OcclusionQueryNode& oqn, const osg::CopyOp& copyop )
|
||||
: Group( oqn, copyop )
|
||||
: Group( oqn, copyop ),
|
||||
_passed( false )
|
||||
{
|
||||
_enabled = oqn._enabled;
|
||||
_visThreshold = oqn._visThreshold;
|
||||
_queryFrameCount = oqn._queryFrameCount;
|
||||
_debugBB = oqn._debugBB;
|
||||
|
||||
// Regardless of shallow or deep, create unique support nodes.
|
||||
|
Loading…
Reference in New Issue
Block a user