node/orphanedNode fix
This commit is contained in:
parent
91cdb6d9dd
commit
cb1bb3aaaa
@ -287,7 +287,7 @@ void QskPlotView::updateNode( QSGNode* node )
|
||||
{
|
||||
for ( auto orphanedNode : m_data->orphanedNodes )
|
||||
{
|
||||
if ( auto parentNode = node->parent() )
|
||||
if ( auto parentNode = orphanedNode->parent() )
|
||||
parentNode->removeChildNode( orphanedNode );
|
||||
|
||||
delete orphanedNode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user