Blender Git Loki

Git Commits -> Revision 7b5fe4f

Revision 7b5fe4f by Antonis Ryakiotakis (master)
June 11, 2014, 22:43 (GMT)
Fix flickering when transform snapping in edit mode and cursor is
slightly outside the mesh.

Reported by Thomas Beck on irc. Issue here is that the mesh bounding box
changes as we are transforming the vertices. Solution is to collide
against the initial bounding box. Unfortunately the snapping functions
are made in a way that a lot of code needed to be tweaked here, but the
change should be straightforward and harmless (famous last words, I
know).

Ideally we might want to even increase the size of the bounding box a
little (as seen in screen space) to allow snapping even in cases where,
cursor is slightly outside the bounding box, but since this is not so
straightforward to do for all cases, at least for me, leaving this as
a TODO.

Commit Details:

Full Hash: 7b5fe4f316234022a0ab761b694cd459ce98db2d
Parent Commit: fb6cb25
Lines Changed: +43, -33

9 Modified Paths:

/source/blender/editors/armature/editarmature_sketch.c (+1, -1) (Diff)
/source/blender/editors/curve/editcurve.c (+1, -1) (Diff)
/source/blender/editors/include/ED_transform.h (+4, -3) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+4, -4) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+2, -2) (Diff)
/source/blender/editors/transform/transform.h (+2, -0) (Diff)
/source/blender/editors/transform/transform_snap.c (+27, -20) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021