Skip to content
Snippets Groups Projects
Commit 1bd882c4 authored by Emma Söderberg's avatar Emma Söderberg
Browse files

Marks incremental/region handlers as computed when added as listeners.

Handlers are added as listeners when regions are crossed, that is, when parents
and children at the region edge are accessed. After such a crossing values in the
entered region may be used freely, hence the region accessing the neighbouring
region is added as a listener and is also marked as computed.
parent 746e77a6
Branches
No related tags found
No related merge requests found
...@@ -185,6 +185,9 @@ $endif ...@@ -185,6 +185,9 @@ $endif
public void addListener($DDGNodeName node) { public void addListener($DDGNodeName node) {
fListenerSet.add(node); fListenerSet.add(node);
$if (IncrementalLevelRegion)
node.setComputed();
$endif
} }
public void removeListener($DDGNodeName node) { public void removeListener($DDGNodeName node) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment