Problem with LoadBrush in Hollywood 5.0

Report any Hollywood bugs here
Post Reply
brianski
Posts: 4
Joined: Fri Mar 02, 2012 1:49 am

Problem with LoadBrush in Hollywood 5.0

Post by brianski »

Some of my programs crash under the new Hollywood 5.0. I've tracked the problem to the LoadBrush() command when using table data for "X" or "Width." For some reason, "Y" and "Height" values are not a problem.
Example: LoadBrush(1,"mypic.jpg", {X=10, Y=10, height=500, width=1280}) will cause a crash. If "X" is zero and "Width" is the native width of the picture, it won't crash. (By crash, I mean I get the popup box that states "Hollywood.exe has stopped working" with an option to close the program. The IDE doesn't close...only the script I was running closes.
Also of note, this same code (and all my other scripts) worked fine under Hollywood 4.8.

This is a very specific and odd behavior, I know. Just wondering if anyone can confirm this error. (Running under Windows 7)
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Problem with LoadBrush in Hollywood 5.0

Post by airsoftsoftwair »

Confirmed. This is clearly a bug. Thanks for reporting! As a workaround, you can load the brush without cropping and then use CropBrush() on it.
Post Reply