Issues.00592 - lordmundi/wikidoctest GitHub Wiki

00592: doug callbacks on nodes seem to be getting called twice

« 00591 | Issues | 00593 »

Summary: doug callbacks on nodes seem to be getting called twice

Created: 2017–01–30 16:09

Status: Submitted

Category: Bug

From: frankie

Version: 2.3

Released_In:

Description:

setting a callback on a node, such as:

proc mycallback { } {
    puts "inside mycallback"
}

doug.callback add update -nodes SPHERE_GREEN mycallback

and then running a command to modify the node, such as:

doug.node SPHERE_GREEN set -x 2.0

results in the printouts from "mycallback" occurring twice.

Since there can be many tcl callbacks on nodes, running them all twice could add up to a minor performance hit.


Comments


« 00591 | Issues | 00593 »

Associated Commits