Page MenuHome

Fix T84191: remove python API limits for Image.scale() width and height
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Dec 29 2020, 1:23 PM.

Details

Summary

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

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

Diff Detail

Repository
rB Blender
Branch
T84191 (branched from master)
Build Status
Buildable 11910
Build 11910: arc lint + arc unit