Blender Git Loki

Git Commits -> Revision b94447a

Revision b94447a by Philipp Oeser (master)
October 27, 2021, 07:56 (GMT)
Fix T92494: Node Editor dot grid not respecting display resolution scale

This seems wrong and was especially noticeable since transform snapping
does account for it (which was reported in T92494).
Now divide the `DotGridLevelInfo` `step_factor` by the default of 20 for
`U.widget_unit` and scale it later by the actual interface scale.

note: when zooming, this will still always snap to the smallest dot
level (not sure, with a bit more work it could be possible to only snap
to the lowest visible level after fading?)

Maniphest Tasks: T92494

Differential Revision: https://developer.blender.org/D13002

Commit Details:

Full Hash: b94447a298146f273c848541a3122afea001ba39
Parent Commit: 16e1b18
Lines Changed: +10, -10

1 Modified Path:

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