[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47514] branches/soc-2012-swiss_cheese/ source/blender/blenlib: Fixed qualifiers different from declaration.

Jason Wilkins Jason.A.Wilkins at gmail.com
Wed Jun 6 15:29:37 CEST 2012


Revision: 47514
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47514
Author:   jwilkins
Date:     2012-06-06 13:29:25 +0000 (Wed, 06 Jun 2012)
Log Message:
-----------
Fixed qualifiers different from declaration.

Problem similar to my last commit.

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_lasso.h
    branches/soc-2012-swiss_cheese/source/blender/blenlib/intern/lasso.c

Modified: branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_lasso.h
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_lasso.h	2012-06-06 13:12:39 UTC (rev 47513)
+++ branches/soc-2012-swiss_cheese/source/blender/blenlib/BLI_lasso.h	2012-06-06 13:29:25 UTC (rev 47514)
@@ -35,7 +35,7 @@
 struct rcti;
 
 void BLI_lasso_boundbox(struct rcti *rect, int mcords[][2], short moves);
-int  BLI_lasso_is_point_inside(int mcords[][2], short moves, int sx, int sy, const int error_value);
-int  BLI_lasso_is_edge_inside(int mcords[][2], short moves, int x0, int y0, int x1, int y1, const int error_value);
+int  BLI_lasso_is_point_inside(int mcords[][2], short moves, int sx, int sy, int error_value);
+int  BLI_lasso_is_edge_inside(int mcords[][2], short moves, int x0, int y0, int x1, int y1, int error_value);
 
 #endif

Modified: branches/soc-2012-swiss_cheese/source/blender/blenlib/intern/lasso.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/blenlib/intern/lasso.c	2012-06-06 13:12:39 UTC (rev 47513)
+++ branches/soc-2012-swiss_cheese/source/blender/blenlib/intern/lasso.c	2012-06-06 13:29:25 UTC (rev 47514)
@@ -54,8 +54,8 @@
 
 
 int BLI_lasso_is_point_inside(int mcords[][2], short moves,
-                              const int sx, const int sy,
-                              const int error_value)
+                              int sx, int sy,
+                              int error_value)
 {
 	/* we do the angle rule, define that all added angles should be about zero or (2 * PI) */
 	float angletot = 0.0, dot, ang, cross, fp1[2], fp2[2];
@@ -102,7 +102,7 @@
 /* edge version for lasso select. we assume boundbox check was done */
 int BLI_lasso_is_edge_inside(int mcords[][2], short moves,
                              int x0, int y0, int x1, int y1,
-                             const int error_value)
+                             int error_value)
 {
 	int v1[2], v2[2];
 	int a;




More information about the Bf-blender-cvs mailing list