Add documentation on FrameSVGItem updating
This commit is contained in:
parent
fb7451051e
commit
48e8e588a6
@ -281,7 +281,7 @@ QSGNode* FrameSvgItem::updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaint
|
||||
if (!textureNode) {
|
||||
textureNode = new SVGTextureNode;
|
||||
textureNode->setFiltering(QSGTexture::Nearest);
|
||||
m_textureChanged = true;
|
||||
m_textureChanged = true; //force updating the texture on our newly created node
|
||||
}
|
||||
|
||||
if (m_textureChanged || textureNode->texture()->textureSize() != m_frameSvg->size()) {
|
||||
|
Loading…
Reference in New Issue
Block a user