Issues.00331 - lordmundi/wikidoctest GitHub Wiki
00331: potential bug in fix_ideal_light.tcl
Summary: potential bug in fix_ideal_light.tcl
Created: 2011–03–22 12:20
Status: Released
Category: Bug
From: frankie
Version: 2.1
Released_In: 2.2
Description:
in fix_ideal_light.tcl, there is a check to see if a HIGHLIGHT flag is enabled on a node. This check may have issues if more than one flag is enabled. Right now it is:
set ideal_state \
[expr ![lsearch -exact [doug.node [dsp_ideal get -node] get -flags] "HIGHLIGHT"]]
which will fail if HIGHLIGHT doesn't show up as the first flag. This check should be:
set ideal_state \
[expr [lsearch -exact [doug.node [dsp_ideal get -node] get -flags] "HIGHLIGHT"] >= 0]
Comments
Associated Commits
| commit | e6343cc3cd33541e26a9addb996070ed51153888
link5 |
||
| Author: | Frank Graffagnino
|
| Date: | Tue Mar 22 13:20:02 2011 -0500
|
| Message: | [@Issue 00331: Fixed bug in fix_ideal_light.tcl
@] |
Affected Files:
gui/fix_ideal_light.tcl | 4 +±-
1 file changed, 2 insertions(+), 2 deletions(-)