Hi,
I am trying to dynamically disable picking via setPickNode(0). Quickly realized it would cause segmentation fault because there's no memory address check in this method:
@@ -1414,7 +1416,8 @@ void QGLSceneNode::setPickNode(QGLPickNode *node)
// TODO - resolve recursive picking - not supported by
// color based pick AFAICT
d->pickNode = node;
- node->setTarget(this);
+ if(node)
+ node->setTarget(this);
}