Blender Git Loki
Git Commits -> Revision 3f39719
Revision 3f39719 by Germano Cavalcante (master) July 11, 2017, 20:03 (GMT) |
Fix [T51595]: Snap to edge does not work with high zoom level That problem occurs because of the imprecision of `short int` (16 bits). The 3d coordinates are converted to 2d, and when they are off the screen, their values can exceed 32767! (max short int value) One quick solution is to use float instead of short The snap code is actually a little tricky. I want to make some arithmetic simplifications in it |
Commit Details:
Full Hash: 3f39719b5df592caa6bd1cd68da38377855b89cc
Parent Commit: b3f62b6
Lines Changed: +5, -8
1 Modified Path:
/source/blender/editors/transform/transform_snap_object.c (+5, -8) (Diff)