[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28118] branches/nurbs25/source/blender/ editors: Another small compile fix.

Emmanuel Stone emmanuel.stone at gmail.com
Sun Apr 11 02:59:39 CEST 2010


Revision: 28118
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28118
Author:   eman
Date:     2010-04-11 02:59:39 +0200 (Sun, 11 Apr 2010)

Log Message:
-----------
Another small compile fix.
Not sure why MSVC didn't catch this in the first place.

Modified Paths:
--------------
    branches/nurbs25/source/blender/editors/include/ED_view3d.h
    branches/nurbs25/source/blender/editors/space_view3d/drawobject.c

Modified: branches/nurbs25/source/blender/editors/include/ED_view3d.h
===================================================================
--- branches/nurbs25/source/blender/editors/include/ED_view3d.h	2010-04-10 22:12:10 UTC (rev 28117)
+++ branches/nurbs25/source/blender/editors/include/ED_view3d.h	2010-04-11 00:59:39 UTC (rev 28118)
@@ -108,7 +108,7 @@
 void mesh_foreachScreenEdge(struct ViewContext *vc, void (*func)(void *userData, struct EditEdge *eed, int x0, int y0, int x1, int y1, int index), void *userData, int clipVerts);
 void mesh_foreachScreenFace(struct ViewContext *vc, void (*func)(void *userData, struct EditFace *efa, int x, int y, int index), void *userData);
 void nurbs_foreachScreenVert(struct ViewContext *vc, void (*func)(void *userData, struct Nurb *nu, struct BPoint *bp, struct BezTriple *bezt, int beztindex, int x, int y), void *userData);
-void nurbs_foreachScreenOuterEdge(struct ViewContext *vc, void (*func)(void *userData, struct Nurb *nu, int edgeID, int x, int y), void *userData);
+void nurbs_foreachScreenOuterEdge(struct ViewContext *vc, void (*func)(void *userData, struct Nurb *nu, int edgeID, int x0, int y0, int x1, int y1), void *userData);
 struct BPoint* nurbs_getPointsForEdge(struct Nurb *nu, int edge, int xy);
 
 void lattice_foreachScreenVert(struct ViewContext *vc, void (*func)(void *userData, struct BPoint *bp, int x, int y), void *userData);

Modified: branches/nurbs25/source/blender/editors/space_view3d/drawobject.c
===================================================================
--- branches/nurbs25/source/blender/editors/space_view3d/drawobject.c	2010-04-10 22:12:10 UTC (rev 28117)
+++ branches/nurbs25/source/blender/editors/space_view3d/drawobject.c	2010-04-11 00:59:39 UTC (rev 28118)
@@ -1551,7 +1551,7 @@
 	/*
            0
               
-		A.....B
+        A.....B
     3   .......   1
         D.....C
        	   
@@ -1590,7 +1590,7 @@
 }
 
 /* For each of the four outside edges of the surface */
-void nurbs_foreachScreenOuterEdge(ViewContext *vc, void (*func)(void *userData, Nurb *nu, int edgeID, int x, int y), void *userData)
+void nurbs_foreachScreenOuterEdge(ViewContext *vc, void (*func)(void *userData, Nurb *nu, int edgeID, int x0, int y0, int x1, int y1), void *userData)
 {
 	Curve *cu= vc->obedit->data;
 	short s1[2] = {IS_CLIPPED, 0};





More information about the Bf-blender-cvs mailing list