[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61030] trunk/blender: code cleanup: spelling

Campbell Barton ideasman42 at gmail.com
Thu Oct 31 15:10:01 CET 2013


Revision: 61030
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61030
Author:   campbellbarton
Date:     2013-10-31 14:10:01 +0000 (Thu, 31 Oct 2013)
Log Message:
-----------
code cleanup: spelling

Modified Paths:
--------------
    trunk/blender/intern/ffmpeg/ffmpeg_compat.h
    trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
    trunk/blender/source/blender/blenkernel/intern/anim.c
    trunk/blender/source/blender/blenkernel/intern/brush.c
    trunk/blender/source/blender/blenkernel/intern/bvhutils.c
    trunk/blender/source/blender/blenkernel/intern/cloth.c
    trunk/blender/source/blender/blenkernel/intern/editderivedmesh.c
    trunk/blender/source/blender/blenkernel/intern/image.c
    trunk/blender/source/blender/blenkernel/intern/particle_system.c
    trunk/blender/source/blender/blenkernel/intern/rigidbody.c
    trunk/blender/source/blender/blenlib/BLI_voronoi.h
    trunk/blender/source/blender/blenlib/intern/voronoi.c
    trunk/blender/source/blender/collada/ArmatureImporter.cpp
    trunk/blender/source/blender/compositor/nodes/COM_DespeckleNode.cpp
    trunk/blender/source/blender/compositor/operations/COM_DespeckleOperation.cpp
    trunk/blender/source/blender/compositor/operations/COM_DespeckleOperation.h
    trunk/blender/source/blender/editors/animation/drivers.c
    trunk/blender/source/blender/editors/armature/armature_edit.c
    trunk/blender/source/blender/editors/armature/armature_utils.c
    trunk/blender/source/blender/editors/gpencil/gpencil_paint.c
    trunk/blender/source/blender/editors/object/object_lattice.c
    trunk/blender/source/blender/editors/space_node/drawnode.c
    trunk/blender/source/blender/editors/space_sequencer/sequencer_edit.c
    trunk/blender/source/blender/freestyle/intern/geometry/Grid.h
    trunk/blender/source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp
    trunk/blender/source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp
    trunk/blender/source/blender/freestyle/intern/stroke/Curve.h
    trunk/blender/source/blender/freestyle/intern/stroke/Stroke.h
    trunk/blender/source/blender/freestyle/intern/system/Id.h
    trunk/blender/source/blender/freestyle/intern/system/TimeUtils.h
    trunk/blender/source/blender/freestyle/intern/view_map/SteerableViewMap.h
    trunk/blender/source/blender/freestyle/intern/view_map/ViewMap.h
    trunk/blender/source/blender/makesrna/intern/rna_nodetree.c
    trunk/blender/source/blender/makesrna/intern/rna_scene.c
    trunk/blender/source/blender/python/intern/bpy_app_handlers.c
    trunk/blender/source/blender/render/intern/source/pipeline.c

Modified: trunk/blender/intern/ffmpeg/ffmpeg_compat.h
===================================================================
--- trunk/blender/intern/ffmpeg/ffmpeg_compat.h	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/intern/ffmpeg/ffmpeg_compat.h	2013-10-31 14:10:01 UTC (rev 61030)
@@ -2,7 +2,7 @@
  * compatibility macros to make every ffmpeg installation appear
  * like the most current installation (wrapping some functionality sometimes)
  * it also includes all ffmpeg header files at once, no need to do it 
- * seperately.
+ * separately.
  *
  * Copyright (c) 2011 Peter Schlaile
  *

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2013-10-31 14:10:01 UTC (rev 61030)
@@ -525,7 +525,7 @@
 		return NSTerminateCancel;
 }
 
-// To avoid cancelling a log off process, we must use Cocoa termination process
+// To avoid canceling a log off process, we must use Cocoa termination process
 // And this function is the only chance to perform clean up
 // So WM_exit needs to be called directly, as the event loop will never run before termination
 - (void)applicationWillTerminate:(NSNotification *)aNotification

Modified: trunk/blender/source/blender/blenkernel/intern/anim.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/anim.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/anim.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -285,7 +285,7 @@
 /* ........ */
 
 /* Note on evaluation optimizations:
- * Optimisations currently used here play tricks with the depsgraph in order to try and 
+ * Optimization's currently used here play tricks with the depsgraph in order to try and
  * evaluate as few objects as strictly necessary to get nicer performance under standard
  * production conditions. For those people who really need the accurate version, 
  * disable the ifdef (i.e. 1 -> 0) and comment out the call to motionpaths_calc_optimise_depsgraph()

Modified: trunk/blender/source/blender/blenkernel/intern/brush.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/brush.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/brush.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -762,7 +762,7 @@
  * radius become inconsistent.
  * the biggest problem is that it isn't possible to change
  * unprojected radius because a view context is not
- * available.  my ussual solution to this is to use the
+ * available.  my usual solution to this is to use the
  * ratio of change of the size to change the unprojected
  * radius.  Not completely convinced that is correct.
  * In any case, a better solution is needed to prevent

Modified: trunk/blender/source/blender/blenkernel/intern/bvhutils.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/bvhutils.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/bvhutils.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -557,7 +557,7 @@
 		data->cached = true;
 
 		/* a NULL nearest callback works fine
-		 * remeber the min distance to point is the same as the min distance to BV of point */
+		 * remember the min distance to point is the same as the min distance to BV of point */
 		data->nearest_callback = NULL;
 		data->raycast_callback = NULL;
 

Modified: trunk/blender/source/blender/blenkernel/intern/cloth.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/cloth.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/cloth.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -1114,8 +1114,8 @@
 	if ( numedges==0 )
 		return 0;
 
-	/* NOTE: handling ownership of sptings and edgehash is quite sloppy
-	 * currenlty they are never initialized but assert just to be sure */
+	/* NOTE: handling ownership of springs and edgehash is quite sloppy
+	 * currently they are never initialized but assert just to be sure */
 	BLI_assert(cloth->springs == NULL);
 	BLI_assert(cloth->edgehash == NULL);
 

Modified: trunk/blender/source/blender/blenkernel/intern/editderivedmesh.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/editderivedmesh.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/editderivedmesh.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -34,7 +34,7 @@
  * to three loops per triangle.  the derivedmesh stores a cache of tessellations
  * for each face.  this cache will smartly update as needed (though at first
  * it'll simply be more brute force).  keeping track of face/edge counts may
- * be a small problbm.
+ * be a small problem.
  *
  * this won't be the most efficient thing, considering that internal edges and
  * faces of tessellations are exposed.  looking up an edge by index in particular

Modified: trunk/blender/source/blender/blenkernel/intern/image.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/image.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/image.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -2241,7 +2241,7 @@
 #else
 			/* image buffers for non-sequence multilayer will share buffers with RenderResult,
 			 * however sequence multilayer will own buffers. Such logic makes switching from
-			 * single multilayer file to sequence completely instable
+			 * single multilayer file to sequence completely unstable
 			 * since changes in nodes seems this workaround isn't needed anymore, all sockets
 			 * are nicely detecting anyway, but freeing buffers always here makes multilayer
 			 * sequences behave stable

Modified: trunk/blender/source/blender/blenkernel/intern/particle_system.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/particle_system.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/particle_system.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -2850,10 +2850,10 @@
 			continue;
 		}
 
-		/* Find vector to neighbour. Exclude particles that are more than 2h
+		/* Find vector to neighbor. Exclude particles that are more than 2h
 		 * away. Can't use current state here because it may have changed on
 		 * another thread - so do own mini integration. Unlike basic_integrate,
-		 * SPH integration depends on neighbouring particles. - z0r */
+		 * SPH integration depends on neighboring particles. - z0r */
 		madd_v3_v3v3fl(co, npa->prev_state.co, npa->prev_state.vel, state->time);
 		sub_v3_v3v3(vec, co, state->co);
 		rij = normalize_v3(vec);

Modified: trunk/blender/source/blender/blenkernel/intern/rigidbody.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/rigidbody.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenkernel/intern/rigidbody.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -1211,7 +1211,7 @@
 	}
 }
 
-/* Used when cancelling transforms - return rigidbody and object to initial states */
+/* Used when canceling transforms - return rigidbody and object to initial states */
 void BKE_rigidbody_aftertrans_update(Object *ob, float loc[3], float rot[3], float quat[4], float rotAxis[3], float rotAngle)
 {
 	RigidBodyOb *rbo = ob->rigidbody_object;

Modified: trunk/blender/source/blender/blenlib/BLI_voronoi.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_voronoi.h	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenlib/BLI_voronoi.h	2013-10-31 14:10:01 UTC (rev 61030)
@@ -52,7 +52,7 @@
 	float f, g;				/* directional coeffitients satisfying equation y = f * x + g (edge lies on this line) */
 
 	/* some edges consist of two parts, so we add the pointer to another part to connect them at the end of an algorithm */
-	struct VoronoiEdge *neighbour;
+	struct VoronoiEdge *neighbor;
 } VoronoiEdge;
 
 typedef struct VoronoiTriangulationPoint {

Modified: trunk/blender/source/blender/blenlib/intern/voronoi.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/voronoi.c	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/blenlib/intern/voronoi.c	2013-10-31 14:10:01 UTC (rev 61030)
@@ -99,7 +99,7 @@
 	copy_v2_v2(edge->left, left);
 	copy_v2_v2(edge->right, right);
 
-	edge->neighbour = NULL;
+	edge->neighbor = NULL;
 	edge->end[0] = 0;
 	edge->end[1] = 0;
 
@@ -395,7 +395,7 @@
 	el = voronoiEdge_new(start, par->site, site);
 	er = voronoiEdge_new(start, site, par->site);
 
-	el->neighbour = er;
+	el->neighbor = er;
 	BLI_addtail(&process->edges, el);
 
 	par->edge = er;
@@ -682,9 +682,9 @@
 
 	edge = process.edges.first;
 	while (edge) {
-		if (edge->neighbour) {
-			copy_v2_v2(edge->start, edge->neighbour->end);
-			MEM_freeN(edge->neighbour);
+		if (edge->neighbor) {
+			copy_v2_v2(edge->start, edge->neighbor->end);
+			MEM_freeN(edge->neighbor);
 		}
 
 		edge = edge->next;

Modified: trunk/blender/source/blender/collada/ArmatureImporter.cpp
===================================================================
--- trunk/blender/source/blender/collada/ArmatureImporter.cpp	2013-10-31 14:09:01 UTC (rev 61029)
+++ trunk/blender/source/blender/collada/ArmatureImporter.cpp	2013-10-31 14:10:01 UTC (rev 61030)
@@ -701,7 +701,7 @@
 
 			//insert other shape keys
 			for (int i = 0 ; i < morphTargetIds.getCount() ; i++ ) {
-				//better to have a seperate map of morph objects, 
+				//better to have a separate map of morph objects,
 				//This'll do for now since only mesh morphing is imported
 
 				Mesh *me = this->mesh_importer->get_mesh_by_geom_uid(morphTargetIds[i]);

Modified: trunk/blender/source/blender/compositor/nodes/COM_DespeckleNode.cpp
===================================================================
--- trunk/blender/source/blender/compositor/nodes/COM_DespeckleNode.cpp	2013-10-31 14:09:01 UTC (rev 61029)

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list