Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_node.cpp
Context not available. | |||||
249 | return rect; | 249 | return rect; | ||
---|---|---|---|---|---|
250 | } | 250 | } | ||
251 | 251 | | |||
252 | void KisNode::childNodeChanged(KisNodeSP changedChildNode) | ||||
253 | { | ||||
254 | } | ||||
255 | | ||||
252 | KisAbstractProjectionPlaneSP KisNode::projectionPlane() const | 256 | KisAbstractProjectionPlaneSP KisNode::projectionPlane() const | ||
253 | { | 257 | { | ||
254 | KIS_ASSERT_RECOVER_NOOP(0 && "KisNode::projectionPlane() is not defined!"); | 258 | KIS_ASSERT_RECOVER_NOOP(0 && "KisNode::projectionPlane() is not defined!"); | ||
Context not available. | |||||
501 | newNode->setGraphListener(m_d->graphListener); | 505 | newNode->setGraphListener(m_d->graphListener); | ||
502 | } | 506 | } | ||
503 | 507 | | |||
508 | childNodeChanged(newNode); | ||||
509 | | ||||
504 | if (m_d->graphListener) { | 510 | if (m_d->graphListener) { | ||
505 | m_d->graphListener->nodeHasBeenAdded(this, idx); | 511 | m_d->graphListener->nodeHasBeenAdded(this, idx); | ||
506 | } | 512 | } | ||
507 | 513 | | |||
508 | | ||||
509 | return true; | 514 | return true; | ||
510 | } | 515 | } | ||
511 | 516 | | |||
Context not available. | |||||
528 | m_d->nodes.removeAt(index); | 533 | m_d->nodes.removeAt(index); | ||
529 | } | 534 | } | ||
530 | 535 | | |||
536 | childNodeChanged(removedNode); | ||||
537 | | ||||
531 | if (m_d->graphListener) { | 538 | if (m_d->graphListener) { | ||
532 | m_d->graphListener->nodeHasBeenRemoved(this, index); | 539 | m_d->graphListener->nodeHasBeenRemoved(this, index); | ||
533 | } | 540 | } | ||
Context not available. |