Revision: 48329
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48329
Author:   campbellbarton
Date:     2012-06-27 05:59:41 +0000 (Wed, 27 Jun 2012)
Log Message:
-----------
style cleanup: also some spelling correction.

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.cpp
    trunk/blender/source/blender/editors/mesh/meshtools.c
    trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
    trunk/blender/source/blender/editors/transform/transform_constraints.c
    trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.cpp  2012-06-27 
05:38:52 UTC (rev 48328)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemPathsX11.cpp  2012-06-27 
05:59:41 UTC (rev 48329)
@@ -64,7 +64,7 @@
        if (static_path) {
                static char system_path[PATH_MAX];
                snprintf(system_path, sizeof(system_path), "%s/blender/%s", 
static_path, versionstr);
-               return (GHOST_TUns8*)system_path;
+               return (GHOST_TUns8 *)system_path;
        }
 
        return NULL;
@@ -81,22 +81,22 @@
 
                if (home) {
                        snprintf(user_path, sizeof(user_path), 
"%s/.blender/%s", home, versionstr);
-                       return (GHOST_TUns8*)user_path;
+                       return (GHOST_TUns8 *)user_path;
                }
 
                return NULL;
        }
        else {
-               const char *home= getenv("XDG_CONFIG_HOME");
+               const char *home = getenv("XDG_CONFIG_HOME");
 
                if (home) {
                        snprintf(user_path, sizeof(user_path), "%s/blender/%s", 
home, versionstr);
                }
                else {
-                       home= getenv("HOME");
+                       home = getenv("HOME");
 
                        if (home == NULL)
-                               home= getpwuid(getuid())->pw_dir;
+                               home = getpwuid(getuid())->pw_dir;
 
                        snprintf(user_path, sizeof(user_path), 
"%s/.config/blender/%s", home, versionstr);
                }

Modified: trunk/blender/source/blender/editors/mesh/meshtools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/meshtools.c       2012-06-27 
05:38:52 UTC (rev 48328)
+++ trunk/blender/source/blender/editors/mesh/meshtools.c       2012-06-27 
05:59:41 UTC (rev 48329)
@@ -898,7 +898,7 @@
        return 0;
 }
 
-static int mesh_get_x_mirror_vert_spacial(Object *ob, int index)
+static int mesh_get_x_mirror_vert_spatial(Object *ob, int index)
 {
        Mesh *me = ob->data;
        MVert *mvert;
@@ -926,12 +926,12 @@
                return mesh_get_x_mirror_vert_topo(ob, index);
        }
        else {
-               return mesh_get_x_mirror_vert_spacial(ob, index);
+               return mesh_get_x_mirror_vert_spatial(ob, index);
        }
        return 0;
 }
 
-static BMVert *editbmesh_get_x_mirror_vert_spacial(Object *ob, BMEditMesh *em, 
const float co[3])
+static BMVert *editbmesh_get_x_mirror_vert_spatial(Object *ob, BMEditMesh *em, 
const float co[3])
 {
        float vec[3];
        intptr_t poinval;
@@ -989,7 +989,7 @@
                return editbmesh_get_x_mirror_vert_topo(ob, em, eve, index);
        }
        else {
-               return editbmesh_get_x_mirror_vert_spacial(ob, em, co);
+               return editbmesh_get_x_mirror_vert_spatial(ob, em, co);
        }
 }
 

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_image.c     
2012-06-27 05:38:52 UTC (rev 48328)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_image.c     
2012-06-27 05:59:41 UTC (rev 48329)
@@ -4935,7 +4935,7 @@
                if (BKE_brush_size_get(scene, brush) < 2)
                        BKE_brush_size_set(scene, brush, 2);
 
-               /* allocate and initialize spacial data structures */
+               /* allocate and initialize spatial data structures */
                project_paint_begin(&pop->ps);
                
                if (pop->ps.dm == NULL)
@@ -5728,7 +5728,7 @@
        undo_paint_push_begin(UNDO_PAINT_IMAGE, op->type->name,
                              image_undo_restore, image_undo_free);
 
-       /* allocate and initialize spacial data structures */
+       /* allocate and initialize spatial data structures */
        project_paint_begin(&ps);
 
        if (ps.dm == NULL) {

Modified: trunk/blender/source/blender/editors/transform/transform_constraints.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_constraints.c      
2012-06-27 05:38:52 UTC (rev 48328)
+++ trunk/blender/source/blender/editors/transform/transform_constraints.c      
2012-06-27 05:59:41 UTC (rev 48329)
@@ -306,7 +306,7 @@
 }
 
 /*
- * Generic callback for constant spacial constraints applied to linear motion
+ * Generic callback for constant spatial constraints applied to linear motion
  *
  * The IN vector in projected into the constrained space and then further
  * projected along the view vector.
@@ -404,9 +404,7 @@
 }
 
 /*
- * Generic callback for constant spacial constraints applied to resize motion
- *
- *
+ * Generic callback for constant spatial constraints applied to resize motion
  */
 
 static void applyAxisConstraintSize(TransInfo *t, TransData *td, float 
smat[3][3])
@@ -430,9 +428,7 @@
 }
 
 /*
- * Callback for object based spacial constraints applied to resize motion
- *
- *
+ * Callback for object based spatial constraints applied to resize motion
  */
 
 static void applyObjectConstraintSize(TransInfo *t, TransData *td, float 
smat[3][3])
@@ -459,7 +455,7 @@
 }
 
 /*
- * Generic callback for constant spacial constraints applied to rotations
+ * Generic callback for constant spatial constraints applied to rotations
  *
  * The rotation axis is copied into VEC.
  *
@@ -501,7 +497,7 @@
 }
 
 /*
- * Callback for object based spacial constraints applied to rotations
+ * Callback for object based spatial constraints applied to rotations
  *
  * The rotation axis is copied into VEC.
  *

Modified: trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp
===================================================================
--- trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp    2012-06-27 
05:38:52 UTC (rev 48328)
+++ trunk/blender/source/gameengine/Ketsji/KX_PythonInit.cpp    2012-06-27 
05:59:41 UTC (rev 48329)
@@ -1130,8 +1130,8 @@
 }
 
 static PyObject* gPySetGLSLMaterialSetting(PyObject*,
-                                                                               
        PyObject* args,
-                                                                               
        PyObject*)
+                                           PyObject* args,
+                                           PyObject*)
 {
        GlobalSettings *gs= gp_KetsjiEngine->GetGlobalSettings();
        char *setting;
@@ -1142,7 +1142,7 @@
        
        flag = getGLSLSettingFlag(setting);
        
-       if  (flag==-1) {
+       if (flag == -1) {
                PyErr_SetString(PyExc_ValueError, 
"Rasterizer.setGLSLMaterialSetting(string): glsl setting is not known");
                return NULL;
        }
@@ -1173,8 +1173,8 @@
 }
 
 static PyObject* gPyGetGLSLMaterialSetting(PyObject*, 
-                                                                        
PyObject* args, 
-                                                                        
PyObject*)
+                                           PyObject* args,
+                                           PyObject*)
 {
        GlobalSettings *gs= gp_KetsjiEngine->GetGlobalSettings();
        char *setting;
@@ -1185,7 +1185,7 @@
        
        flag = getGLSLSettingFlag(setting);
        
-       if  (flag==-1) {
+       if (flag == -1) {
                PyErr_SetString(PyExc_ValueError, 
"Rasterizer.getGLSLMaterialSetting(string): glsl setting is not known");
                return NULL;
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to