Add documentation on FrameSVGItem updating

This commit is contained in:
David Edmundson 2014-03-05 18:07:54 +01:00
parent fb7451051e
commit 48e8e588a6

View File

@ -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()) {