Blender Git Loki

Git Commits -> Revision 80e720e

Revision 80e720e by Philipp Oeser (master)
January 4, 2021, 08:05 (GMT)
Fix T84191: remove python API limits for Image.scale() dimensions

Since the introduction in 2c23bb838979131667c922df1f01738e02e6ca16,
these were set to 10000 each.

This seems like an arbitrary limit (BKE_image_scale / IMB_scaleImBuf
don't have limits and I couldn't spot similar size restrictions in
image relating functions), now match what we do for creating images
(rna_Main_images_new), use INT_MAX.

Ref D9950

Commit Details:

Full Hash: 80e720ee4af4acff8f5fac768a9458e6e43a5cc0
Parent Commit: 14ee48d
Committed By: Campbell Barton
Lines Changed: +2, -2

1 Modified Path:

/source/blender/makesrna/intern/rna_image_api.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021