Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 11-26-2016, 09:48 AM   #1
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default 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
lb0 is offline   Reply With Quote
Old 11-26-2016, 01:35 PM   #2
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,749
Default

Confirmed. Looking into a fix.
schwa is offline   Reply With Quote
Old 11-26-2016, 04:13 PM   #3
lb0
Human being with feelings
 
Join Date: Apr 2014
Posts: 4,171
Default

Quote:
Originally Posted by schwa View Post
Confirmed. Looking into a fix.
Awesome - thank you.
__________________
Projects - Reascripts - Lua:
Smart Knobs 2 | LBX Stripper | LBX Floating FX Positioner
Donate via Paypal | LBX Tools Website
lb0 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 09:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.