Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-15 13:02:57 +0300
committerTon Roosendaal <ton@blender.org>2006-11-15 13:02:57 +0300
commit95c7c41bd060a55fb2679d53635474dc69703ed7 (patch)
tree628320b2a9914bb96a64f6a757c1967db5d6fd3d /source/blender/include/editmesh.h
parent3d7e802c6c3a0efe686a4ee6213a47f1b0ad3aab (diff)
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.
Diffstat (limited to 'source/blender/include/editmesh.h')
-rw-r--r--source/blender/include/editmesh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/include/editmesh.h b/source/blender/include/editmesh.h
index 2deab0a6f22..e6c24cd7b61 100644
--- a/source/blender/include/editmesh.h
+++ b/source/blender/include/editmesh.h
@@ -89,8 +89,8 @@ extern void translateflag(short flag, float *vec);
extern int convex(float *v1, float *v2, float *v3, float *v4);
/* ******************* editmesh_mods.c */
-extern EditEdge *findnearestedge(short *dist);
-extern EditVert *findnearestvert(short *dist, short sel);
+extern EditEdge *findnearestedge(int *dist);
+extern EditVert *findnearestvert(int *dist, short sel);
/* ******************* editmesh_tools.c */