Bugfix #5224
authorTon Roosendaal <ton@blender.org>
Wed, 15 Nov 2006 10:02:57 +0000 (10:02 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 15 Nov 2006 10:02:57 +0000 (10:02 +0000)
commit95c7c41bd060a55fb2679d53635474dc69703ed7
tree628320b2a9914bb96a64f6a757c1967db5d6fd3d
parent3d7e802c6c3a0efe686a4ee6213a47f1b0ad3aab
Bugfix #5224

Prob: selection sometimes gave wrong edges/faces

Selection code for editmesh was still using a short for calculating the
distance of a projected vertex/edge/face from the mouse position. In
zoomed in cases that'll give overflows and unpredictable results.

It was fixed only half before... now all shorts are removed for distance
calculus.
source/blender/include/BSE_drawview.h
source/blender/include/editmesh.h
source/blender/src/drawview.c
source/blender/src/editface.c
source/blender/src/editmesh_loop.c
source/blender/src/editmesh_mods.c
source/blender/src/editobject.c