Page MenuHome

Fix T97761: Incorrect mixing of integers.
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on May 9 2022, 12:17 PM.

Details

Summary

Not entirely sure if there are other places that need the same fix.

Diff Detail

Repository
rB Blender

Event Timeline

Jacques Lucke (JacquesLucke) requested review of this revision.May 9 2022, 12:17 PM
Jacques Lucke (JacquesLucke) created this revision.
Hans Goudey (HooglyBoogly) added inline comments.
source/blender/blenlib/BLI_math_base.hh
120–124

This could use a std::round too probably, to make negative numbers consistent.

This revision is now accepted and ready to land.May 9 2022, 12:55 PM