fca4318e3ce81e30c6fe210206277f7d59f6040a
While implementing preview snapping, I noticed an oddity with snapping videos to view bounds, and found that the preview window's total v2d has half a pixel of extra padded width. The bug was introduced infb5e2f5610, which added `roundf` calls to numerous areas in the blender code to replace instances of adding `0.5` and then casting to an integer. One mistake in the patch was fixed shortly after ind122911d10, but the other mistake has been unfixed until now. This fixes the glitchy behavior with preview snapping and is also small enough to add to 4.2 LTS. Pull Request: https://projects.blender.org/blender/blender/pulls/123279
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
