mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
LP-29 remove problematic calls to traverse (update only applies to current node)
This commit is contained in:
parent
d2c8d6c657
commit
c75299c4ec
@ -458,7 +458,6 @@ private slots:
|
||||
void OSGCamera::Hidden::CameraUpdateCallback::operator()(osg::Node *node, osg::NodeVisitor *nv)
|
||||
{
|
||||
h->updateCamera();
|
||||
// traverse(node, nv);
|
||||
}
|
||||
|
||||
/* class OSGCamera */
|
||||
|
@ -272,7 +272,6 @@ private slots:
|
||||
void OSGModelNode::Hidden::NodeUpdateCallback::operator()(osg::Node *node, osg::NodeVisitor *nv)
|
||||
{
|
||||
h->updateNode();
|
||||
traverse(node, nv);
|
||||
}
|
||||
|
||||
OSGModelNode::OSGModelNode(QObject *parent) : OSGNode(parent), h(new Hidden(this))
|
||||
|
@ -167,7 +167,6 @@ private slots:
|
||||
void OSGTransformNode::Hidden::NodeUpdateCallback::operator()(osg::Node *node, osg::NodeVisitor *nv)
|
||||
{
|
||||
h->updateNode();
|
||||
traverse(node, nv);
|
||||
}
|
||||
|
||||
OSGTransformNode::OSGTransformNode(QObject *parent) : OSGNode(parent), h(new Hidden(this))
|
||||
|
Loading…
x
Reference in New Issue
Block a user