https://bugs.kde.org/show_bug.cgi?id=380219

--- Comment #9 from David Edmundson <k...@davidedmundson.co.uk> ---
>Qt docs do say "Warning: This function will return 0 if the scene graph has 
>not yet been initialized."

That's something different. We're not calling it before a
QQuickItem::updateNode so we know the scene graph is initialized.

As for if we guard against it and check the images.
Sort of, but you can't do QSGGeometryNode::setTexture(0) which means we can't
unset one of the tiles in the 9-tile frame. So if you did guard it, you'd just
leave a piece of the old frame there instead when we changed to a Frame that
had some null images.

The only correct solution is to delete the nodes as appropriate, but that
requires a huge refactor and significantly more complex code.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to