11-26-2016, 09:48 AM | #1 |
Human being with feelings
Join Date: Apr 2014
Posts: 4,178
|
gfx.blit error when scaling image (FIXED)
Hi,
I've found an error that completely kills reaper (ie. bombs out with 'reaper has stopped working') Easy to reproduce: I have an 128 frame image strip (vertical stitch) where each frame is 334 pixels high - total graphics strip height is over 40000 pixels. If the scale remains at 1 - I can blit the graphic to whatever frame I like up to the max 128. So no problems if not scaling. If I change the scale to anything other than 1 - it will crash if I set the y blit position > 32767 which is the C integer max value (ie. if I choose a frame that starts > 32767 pixels down the image strip). Looks to me like a bug in the scaling code where it's overloading a number type... ie integer is being used instead of a long value. Cheers, Leon.
__________________
Projects - Reascripts - Lua: Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner Donate via Paypal | LBX Tools Website |
11-26-2016, 01:35 PM | #2 |
Administrator
Join Date: Mar 2007
Location: NY
Posts: 16,494
|
Confirmed. Looking into a fix.
|
11-26-2016, 04:13 PM | #3 |
Human being with feelings
Join Date: Apr 2014
Posts: 4,178
|
__________________
Projects - Reascripts - Lua: Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner Donate via Paypal | LBX Tools Website |
Thread Tools | |
Display Modes | |
|
|