Revision: 47705
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47705
Author: campbellbarton
Date: 2012-06-10 20:31:01 +0000 (Sun, 10 Jun 2012)
Log Message:
-----------
correct float vector sizes
Modified Paths:
--------------
trunk/blender/source/blender/editors/uvedit/uvedit_parametrizer.c
Modified: trunk/blender/source/blender/editors/uvedit/uvedit_parametrizer.c
===================================================================
--- trunk/blender/source/blender/editors/uvedit/uvedit_parametrizer.c
2012-06-10 20:20:37 UTC (rev 47704)
+++ trunk/blender/source/blender/editors/uvedit/uvedit_parametrizer.c
2012-06-10 20:31:01 UTC (rev 47705)
@@ -3596,7 +3596,7 @@
int axis, ntri;
} SmoothNode;
-static void p_barycentric_2d(const float v1[2], const float v2[2], const float
v3[2], float p[2], float b[2])
+static void p_barycentric_2d(const float v1[2], const float v2[2], const float
v3[2], const float p[2], float b[3])
{
float a[2], c[2], h[2], div;
@@ -3624,7 +3624,7 @@
}
}
-static PBool p_triangle_inside(SmoothTriangle *t, float *co)
+static PBool p_triangle_inside(SmoothTriangle *t, float co[2])
{
float b[3];
@@ -3706,7 +3706,7 @@
MEM_freeN(node->tri);
}
-static PBool p_node_intersect(SmoothNode *node, float *co)
+static PBool p_node_intersect(SmoothNode *node, float co[2])
{
int i;
@@ -3726,7 +3726,7 @@
}
-/* smooothing */
+/* smoothing */
static int p_compare_float(const void *a, const void *b)
{
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs