All pastes #2069671 Raw Edit

Miscellany

public cpp v1 · immutable
#2069671 ·published 2011-05-26 21:56 UTC
rendered paste body
    if (m_currentContent.contentType == HTMLContentType && (changeMask & ParentChange)) {        TextureMapperNode* newParent = toTextureMapperNode(graphicsLayer->parent());        if (m_parent && !newParent) {            size_t index = m_parent->m_children.find(this);            if (index != notFound)                m_parent->m_children.remove(index);        }        m_parent = newParent;    }