[Bf-committers] Fix for border-related crash

Chris Burt desoto at blender.spaceisbig.com
Wed Feb 16 20:35:11 CET 2005


If border button was pressed and no area was selected there was a crash. 
This fixes the crash and results in a bank img buf. Not sure if this is 
the best behavior but if you look at initrender.c, its the same result 
as the illegal combinations for rendering in parts. Perhaps there should 
be a *real* error message thrown by these events. i.e. a message box 
that appears and warns the user of their error. Currently the errors 
simply print to the console.. its not really very useful.

Thanks!
--Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-border.patch
Type: text/x-diff
Size: 809 bytes
Desc: not available
Url : http://projects.blender.org/pipermail/bf-committers/attachments/20050216/ec8559fd/no-border.bin


More information about the Bf-committers mailing list