Made incremental snapping intervalls smaller for UV editor
Before the intervall was set to 0.125 which effectively resulted in 8 positions across the UV space (per axis). I halved that value, holding shift enables an even finer movement. This change was ported over from my soc-2016-uv_tools branch after talking with howardt, ideasman42 and hackerman-
This commit is contained in:
parent
abb9d0b0ad
commit
9c600435fa
Notes:
blender-bot
2023-05-29 09:17:12 +02:00
Referenced by issue #48848, Cycles - Camera Culling - Camera Culling removes objects which are still in frame Referenced by issue #48691, Cycles - OpenCL - HDR Image mapping does not match CUDA rendering Referenced by issue #48695, Significant slowdown when editing a mesh with shrinkwraps & slightly high poly Referenced by issue #48649, Metastrip bug
|
@ -4144,7 +4144,12 @@ static void initSnapSpatial(TransInfo *t, float r_snap[3])
|
|||
r_snap[2] = r_snap[1] * 0.1f;
|
||||
}
|
||||
}
|
||||
else if (ELEM(t->spacetype, SPACE_IMAGE, SPACE_CLIP)) {
|
||||
else if (t->spacetype == SPACE_IMAGE) {
|
||||
r_snap[0] = 0.0f;
|
||||
r_snap[1] = 0.0625f;
|
||||
r_snap[2] = 0.03125f;
|
||||
}
|
||||
else if (t->spacetype == SPACE_CLIP) {
|
||||
r_snap[0] = 0.0f;
|
||||
r_snap[1] = 0.125f;
|
||||
r_snap[2] = 0.0625f;
|
||||
|
|
Loading…
Reference in New Issue