Transform: no need to store distance to snap point
authorCampbell Barton <ideasman42@gmail.com>
Mon, 18 Jan 2016 02:15:38 +0000 (13:15 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 18 Jan 2016 03:01:20 +0000 (14:01 +1100)
commit5cd34282201f54b0c9480e57d40bce013a6af9e2
treeef020af46da9b70ff5a2231dfccaac6a1ae3e017
parent8573c1a84728546e949ced6e6f198afd16ac4dc4
Transform: no need to store distance to snap point

Compare squared distance to snap target since the value is only ever used for comparison.
source/blender/editors/transform/transform.h
source/blender/editors/transform/transform_snap.c