Issues.00219 - lordmundi/wikidoctest GitHub Wiki

00219: one canvas per viewport when using associate_canvas helper function

« 00218 | Issues | 00220 »

Summary: one canvas per viewport when using associate_canvas helper function

Created: 2010–01–07 09:10

Status: Submitted

Category: Bug

From: syu

Version: 2.0

Released_In:

Description:

There seems to be a bug with the associate_canvas_with_view helper function that is only allowing one canvas to be placed on a viewport.


Comments

frankie January 07, 2010, at 09:17 AM: See the following email discussion for a workaround.

Frankie,

I created the crosshair overlay in the attached file. It works when it is listed before cev_overlay_comm.tcl (from EDGE gui directory) or with cev_overlay_comm.tcl commented in the user.cfg. I had the tcldebug turned on but could not figure out why. Would you give me some hint? Thanks,

Stella

Frank Graffagnino wrote:

ok stella, it looks like this is a bug in the associate_with_viewport helper function. The reason it is working if you put your canvas first is because it is disabling the other cev canvas.

the workaround is to you the dsp_canvas calls directly in your script rather than using the "associate_with" helper functions. This should let you put as many canvases on a viewport as you want. We're not quite sure what the bug is in the associate function yet, but making the dsp_canvas calls directly should fix the issue.

FG


« 00218 | Issues | 00220 »

Associated Commits