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:
authorDaniel Dunbar <daniel@zuster.org>2005-08-15 08:10:02 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-08-15 08:10:02 +0400
commit0c7f65d15230a530afae116c93c7d83a9a6a6e0c (patch)
tree0b4ff3989fe0429aab2b5a98b69508ab606b8150 /source/blender/src/editmesh_loop.c
parent74623f33aa2e12da31b53423fc226ebf9e937df4 (diff)
- added view3d_get_object_project_mat function, returns mat to project
object cos into screenspace without mucking with gl matrices. - added view3d_project_ functions, take arguments instead of using globals - removed View3D.{mx,my,mxo,myo} - switch drawobject foreachScreenVert functions to use new projection functions - switch edge slide to use new projection functions, fixes erratic behavior (project was using wrong mat I believe) - bug fix in edgeslide, nearest edge to start was one-off
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r--source/blender/src/editmesh_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c
index 813498b1043..2191cc94afd 100644
--- a/source/blender/src/editmesh_loop.c
+++ b/source/blender/src/editmesh_loop.c
@@ -684,7 +684,7 @@ void KnifeSubdivide(char mode)
/* seg_intersect() Determines if and where a mouse trail intersects an EditEdge */
-short seg_intersect(EditEdge *e, CutCurve *c, int len)
+static short seg_intersect(EditEdge *e, CutCurve *c, int len)
{
#define MAXSLOPE 100000
float x11, y11, x12=0, y12=0, x2max, x2min, y2max;