Blender Git Loki
Git Commits -> Revision e0871e0
Revision e0871e0 by Campbell Barton (master) March 17, 2011, 11:08 (GMT) |
bugfix [#26502] segmentationfault on pressing button to browse existing images for UV window really old one!, since initial commit blender would crash scaling down large sizes eg: 60962 -> 128 (width or height). the problem is scaledownx/y doesn't check buffer endpoints, with really large images theres a loop on a float value which can fail with large image sizes. previous commit added asserts if the buffer runs over (assuming it doesnt crash), This commit changes an epsilon value, tested this with random small images as well as images over 200,000 px, and it works fine, this is still flakey though and for really really big images it probably still fails. |
Commit Details:
Full Hash: e0871e07dfff7babbfc03d62d565b37320e10c75
SVN Revision: 35594
Parent Commit: 172f333
Lines Changed: +2, -2
1 Modified Path:
/source/blender/imbuf/intern/scaling.c (+2, -2) (Diff)