snapshot acting funny in 6.6.2 (rc 3)

prothero at earthednet.org prothero at earthednet.org
Sat May 3 18:41:34 EDT 2014


Also: I’m on OSX 10.9.2
I’ll make a test stack to duplicate the problem, then file a bug report if it behaves the sam.
BIll

prothero at earthednet.org
http://es.earthednet.org

On May 3, 2014, at 3:38 PM, prothero at earthednet.org wrote:

> Added Info:
> The code I use for the snapshot  is:
> 
>> —do some stuff
>> wait for 0.1 seconds with messages
>> export snapshot from rect  snapRect to image  “mapSnap”
>> wait for 0.1 seconds with messages
>> —do more stuff
> 
> If I put a breakpoint at the export line, the snapshot works.
> Bill
> 
> prothero at earthednet.org
> http://es.earthednet.org
> 
> On May 2, 2014, at 6:52 PM, prothero at earthednet.org wrote:
> 
>> My application scrolls and resizes a large map for plotting data. The view rectangle shows only a portion of it. I make a copy of the visible part using snapshot. That way I can put symbols on the viewable part of the large map without having to reload it when it is erased. The command is:
>> 
>> —do some stuff
>> wait for 0 seconds with messages
>> export snapshot from rect  snapRect to image  “mapSnap”
>> —do more stuff
>> 
>> In LC 6.6, all works fine. I have to put the wait command prior to the snapshot command.
>> wait 0 seconds with messages. 
>> 
>> When I tried the project in version 6.6.2 (rc3), the snapshot command stopped working. If I put a breakpoint to stop the script at the snapshot command, it works. So what I’m wondering is if I’ve done something wrong, and 6.6.2 has different timing, or what I might do to make this work in 6.6.2. Or, could it be a bug? I set the wait time prior to doing the snapshot to 1 second, and it made no difference.
>> 
>> Best,
>> Bill
>> 
>> prothero at earthednet.org
>> http://es.earthednet.org
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list