Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-05-18 18:00:19 +0300
committerJacques Lucke <jacques@blender.org>2022-05-18 18:00:38 +0300
commit2e70af5cd527e2c1f40e6f3af22adc3337714744 (patch)
treec5e55df22f2e53d044e541c8d5b1392de30786f5 /intern/cycles/scene/image.cpp
parent342e12d6d92198bba8355562600a2f97bb45fed5 (diff)
Fix T97761: incorrect mixing of integers
Sometimes integers are mixed using float weights. In those cases the mixed result has to be converted from into float again. Previously, this was done using a simple cast, which was unexpected because e.g. 14.999 would be cast to 14 instead of 15. Now, the values are rounded properly. This can affect existing files unfortunately without a good option for versioning. Gladly, very few files seem to depend on the details of the old behavior. Differential Revision: https://developer.blender.org/D14892
Diffstat (limited to 'intern/cycles/scene/image.cpp')
0 files changed, 0 insertions, 0 deletions