Blender Git Loki

Git Commits -> Revision 8602392

July 4, 2021, 17:21 (GMT)
UV: Increment snapping based on new UV grid types

Since the default UV editor grid has been replaced with a new
subdividing grid and dynamic grid (T78389) has also been implemented,
increment snapping value needs to change according to the grid
configuration in use.

This commit ensures that the increment snapping value is changed
according to the grid dimensions currently in use.
Example - For a NxN grid the increment value is set as 1/N

Commit Details:

Full Hash: 86023928ba794606f2372ce9f52c86c2b881041f
Parent Commit: 708f375
Lines Changed: +59, -3

3 Modified Paths:

/source/blender/editors/include/ED_image.h (+2, -1) (Diff)
/source/blender/editors/space_image/image_draw.c (+37, -0) (Diff)
/source/blender/editors/transform/transform.c (+20, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021