comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » FG bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: FG bug [message #91562 is a reply to message #91553] Wed, 29 July 2015 14:04 Go to previous messageGo to previous message
chris_torrence@NOSPAM is currently offline  chris_torrence@NOSPAM
Messages: 528
Registered: March 2007
Senior Member
On Wednesday, July 29, 2015 at 7:44:00 AM UTC-6, Helder wrote:
> Hi,
> anyone know of a quick and easy way around this bug?
>
> i = image(dist(512), 10d * dindgen(512)/511d, 10d * dindgen(512)/511d)
> p = polygon([3,7,7,3],[3,3,7,7], /current, /data, Fill_background=0)
> p.select
> p.setData, [3,6,6,3], [3,3,6,6]
>
> IDL> !version
> {
> "ARCH": "x86_64",
> "OS": "Win32",
> "OS_FAMILY": "Windows",
> "OS_NAME": "Microsoft Windows",
> "RELEASE": "8.4.1",
> "BUILD_DATE": "Feb 17 2015",
> "MEMORY_BITS": 64,
> "FILE_OFFSET_BITS": 64
> }
>
> Thanks,
> Helder

Yep. In idlitvispolygon__define.pro, around line 1516, add a call to "self->UpdateSelectionVisual". The code should look like:

self->UpdateSelectionVisual
oTool = self->GetTool()
if (ISA(oTool)) then oTool->RefreshCurrentWindow

Cheers,
Chris
p.s. this has now been fixed for the next version (post IDL 8.5...)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: About INTERPOLATE function.
Next Topic: Skip file during loop based on subprocess

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:11:03 PDT 2025

Total time taken to generate the page: 0.00193 seconds