[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27423] branches/bmesh/blender/source/ blender/bmesh: BMesh branch

Ken Hughes khughes at pacific.edu
Thu Mar 11 20:02:52 CET 2010


Revision: 27423
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27423
Author:   khughes
Date:     2010-03-11 20:02:52 +0100 (Thu, 11 Mar 2010)

Log Message:
-----------
BMesh branch
------------
Move a char array from a header to a C file, primarily to stop numerous
warnings.

Modified Paths:
--------------
    branches/bmesh/blender/source/blender/bmesh/bmesh_error.h
    branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c

Modified: branches/bmesh/blender/source/blender/bmesh/bmesh_error.h
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/bmesh_error.h	2010-03-11 18:27:45 UTC (rev 27422)
+++ branches/bmesh/blender/source/blender/bmesh/bmesh_error.h	2010-03-11 19:02:52 UTC (rev 27423)
@@ -39,17 +39,4 @@
 #define BMERR_NONMANIFOLD			8
 #define BMERR_INVALID_SELECTION			9
 
-static char *bmop_error_messages[] = {
-       0,
-       "Self intersection error",
-       "Could not dissolve vert",
-       "Could not connect vertices",
-       "Could not traverse mesh",
-       "Could not dissolve faces",
-       "Could not dissolve vertices",
-       "Tesselation error",
-       "Can not deal with non-manifold geometry",
-       "Invalid selection",
-};
-
-#endif /* _BMESH_ERROR_H */
\ No newline at end of file
+#endif /* _BMESH_ERROR_H */

Modified: branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c
===================================================================
--- branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c	2010-03-11 18:27:45 UTC (rev 27422)
+++ branches/bmesh/blender/source/blender/bmesh/intern/bmesh_operators.c	2010-03-11 19:02:52 UTC (rev 27423)
@@ -21,6 +21,20 @@
 static int bmesh_name_to_slotcode(BMOpDefine *def, char *name);
 static int bmesh_opname_to_opcode(char *opname);
 
+static char *bmop_error_messages[] = {
+       0,
+       "Self intersection error",
+       "Could not dissolve vert",
+       "Could not connect vertices",
+       "Could not traverse mesh",
+       "Could not dissolve faces",
+       "Could not dissolve vertices",
+       "Tesselation error",
+       "Can not deal with non-manifold geometry",
+       "Invalid selection",
+};
+
+
 /*operator slot type information - size of one element of the type given.*/
 const int BMOP_OPSLOT_TYPEINFO[] = {
 	0,





More information about the Bf-blender-cvs mailing list