[Bf-blender-cvs] [09e40a4] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Sun Sep 13 18:29:34 CEST 2015


Commit: 09e40a4956494655a2d544ab654372455882dbc3
Author: Campbell Barton
Date:   Mon Sep 14 02:21:15 2015 +1000
Branches: master
https://developer.blender.org/rB09e40a4956494655a2d544ab654372455882dbc3

Cleanup: spelling

===================================================================

M	intern/cycles/blender/addon/engine.py
M	intern/cycles/blender/blender_shader.cpp
M	source/blender/blenkernel/intern/DerivedMesh.c
M	source/blender/blenkernel/intern/mesh_evaluate.c
M	source/blender/blenkernel/intern/mesh_remap.c
M	source/blender/blenkernel/intern/scene.c
M	source/blender/blenkernel/intern/softbody.c
M	source/blender/blenkernel/intern/subsurf_ccg.c
M	source/blender/blenkernel/intern/writeffmpeg.c
M	source/blender/blenlib/intern/BLI_ghash.c
M	source/blender/blenlib/intern/array_utils.c
M	source/blender/blenlib/intern/math_color_blend_inline.c
M	source/blender/blenlib/intern/math_statistics.c
M	source/blender/blenlib/intern/noise.c
M	source/blender/blenlib/intern/string.c
M	source/blender/blenloader/intern/writefile.c
M	source/blender/blentranslation/intern/blt_lang.c
M	source/blender/bmesh/intern/bmesh_core.c
M	source/blender/bmesh/operators/bmo_extrude.c
M	source/blender/bmesh/operators/bmo_planar_faces.c
M	source/blender/bmesh/tools/bmesh_bevel.c
M	source/blender/editors/armature/armature_utils.c
M	source/blender/editors/mesh/editmesh_select.c
M	source/blender/editors/object/object_vgroup.c
M	source/blender/editors/screen/screen_ops.c
M	source/blender/editors/sculpt_paint/paint_image_proj.c
M	source/blender/editors/sculpt_paint/paint_vertex.c
M	source/blender/editors/space_file/filelist.c
M	source/blender/editors/space_node/node_relationships.c
M	source/blender/editors/space_view3d/view3d_view.c
M	source/blender/editors/transform/transform_generics.c
M	source/blender/editors/transform/transform_snap.c
M	source/blender/freestyle/intern/geometry/GeomUtils.h
M	source/blender/freestyle/intern/winged_edge/WEdge.h
M	source/blender/gpu/intern/gpu_extensions.c
M	source/blender/makesrna/intern/rna_nodetree.c
M	source/blender/python/bmesh/bmesh_py_ops_call.c
M	source/blender/python/mathutils/mathutils.c
M	source/creator/creator.c
M	source/gameengine/Expressions/intern/PyObjectPlus.cpp

===================================================================

diff --git a/intern/cycles/blender/addon/engine.py b/intern/cycles/blender/addon/engine.py
index 2bfac3c..030f0db 100644
--- a/intern/cycles/blender/addon/engine.py
+++ b/intern/cycles/blender/addon/engine.py
@@ -30,8 +30,8 @@ def _is_using_buggy_driver():
         version = bgl.glGetString(bgl.GL_VERSION)
         if version.endswith("Compatibility Profile Context"):
             # Old HD 4xxx and 5xxx series drivers did not have driver version
-            # in the version string, but thsoe cards do not quite work and
-            # cusing crashes.
+            # in the version string, but those cards do not quite work and
+            # causing crashes.
             return True
         regex = re.compile(".*Compatibility Profile Context ([0-9]+(\.[0-9]+)+)$")
         if not regex.match(version):
@@ -55,7 +55,7 @@ def init():
     import _cycles
     import os.path
 
-    # Workaroud posibly buggy legacy drivers which crashes on the OpenCL
+    # Workaround possibly buggy legacy drivers which crashes on the OpenCL
     # device enumeration.
     #
     # This checks are not really correct because they might still fail
diff --git a/intern/cycles/blender/blender_shader.cpp b/intern/cycles/blender/blender_shader.cpp
index 0f0be78..42aab52 100644
--- a/intern/cycles/blender/blender_shader.cpp
+++ b/intern/cycles/blender/blender_shader.cpp
@@ -1176,7 +1176,7 @@ void BlenderSync::sync_world(bool update_all)
 	PointerRNA cscene = RNA_pointer_get(&b_scene.ptr, "cycles");
 
 	/* when doing preview render check for BI's transparency settings,
-	 * this is so because bledner's preview render routines are not able
+	 * this is so because Blender's preview render routines are not able
 	 * to tweak all cycles's settings depending on different circumstances
 	 */
 	if(b_engine.is_preview() == false)
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c
index d13786f..c48e5cf 100644
--- a/source/blender/blenkernel/intern/DerivedMesh.c
+++ b/source/blender/blenkernel/intern/DerivedMesh.c
@@ -2536,7 +2536,7 @@ static void editbmesh_calc_modifiers(
 #ifdef WITH_OPENSUBDIV
 /* The idea is to skip CPU-side ORCO calculation when
  * we'll be using GPU backend of OpenSubdiv. This is so
- * playback performance is kept as high as posssible.
+ * playback performance is kept as high as possible.
  */
 static bool calc_modifiers_skip_orco(const Object *ob)
 {
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c
index e8c7107..6f32fa2 100644
--- a/source/blender/blenkernel/intern/mesh_evaluate.c
+++ b/source/blender/blenkernel/intern/mesh_evaluate.c
@@ -1560,7 +1560,7 @@ void BKE_mesh_normals_loop_custom_from_vertices_set(
  * Computes average per-vertex normals from given custom loop normals.
  *
  * @param clnors The computed custom loop normals.
- * @param r_vert_clnors The (already allocated) array wher to store averaged per-vertex normals.
+ * @param r_vert_clnors The (already allocated) array where to store averaged per-vertex normals.
  */
 void BKE_mesh_normals_loop_to_vertex(
         const int numVerts, const MLoop *mloops, const int numLoops,
diff --git a/source/blender/blenkernel/intern/mesh_remap.c b/source/blender/blenkernel/intern/mesh_remap.c
index 993921c..c3b88b8 100644
--- a/source/blender/blenkernel/intern/mesh_remap.c
+++ b/source/blender/blenkernel/intern/mesh_remap.c
@@ -237,7 +237,7 @@ static void mesh_calc_eigen_matrix(
 
 		/* Protect against 1D/2D degenerated cases! */
 		/* Note: not sure why we need square root of eigen values here (which are equivalent to singular values,
-		 * as far as I have understood), but it seems to heavily reduce (if not completly nullify)
+		 * as far as I have understood), but it seems to heavily reduce (if not completely nullify)
 		 * the error due to non-uniform scalings... */
 		evi = (evi < 1e-6f && evi > -1e-6f) ? ((evi < 0.0f) ? -1e-3f : 1e-3f) : sqrtf_signed(evi);
 		mul_v3_fl(eigen_vec[i], evi);
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index f114856..f9ca66b 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -1360,7 +1360,7 @@ static void scene_do_rb_simulation_recursive(Scene *scene, float ctime)
  *
  * Ideally Mballs shouldn't do such an iteration and use DAG
  * queries instead. For the time being we've got new DAG
- * let's keep it simple and update mballs in a ingle thread.
+ * let's keep it simple and update mballs in a single thread.
  */
 #define MBALL_SINGLETHREAD_HACK
 
diff --git a/source/blender/blenkernel/intern/softbody.c b/source/blender/blenkernel/intern/softbody.c
index b03c99c..dac3956 100644
--- a/source/blender/blenkernel/intern/softbody.c
+++ b/source/blender/blenkernel/intern/softbody.c
@@ -1993,7 +1993,7 @@ static int _softbody_calc_forces_slice_in_a_thread(Scene *scene, Object *ob, flo
 				compare = (obp->colball + bp->colball);
 				sub_v3_v3v3(def, bp->pos, obp->pos);
 				/* rather check the AABBoxes before ever calulating the real distance */
-				/* mathematically it is completly nuts, but performance is pretty much (3) times faster */
+				/* mathematically it is completely nuts, but performance is pretty much (3) times faster */
 				if ((ABS(def[0]) > compare) || (ABS(def[1]) > compare) || (ABS(def[2]) > compare)) continue;
 				distance = normalize_v3(def);
 				if (distance < compare ) {
@@ -2361,7 +2361,7 @@ static void softbody_calc_forces(Scene *scene, Object *ob, float forcetime, floa
 					sub_v3_v3v3(def, bp->pos, obp->pos);
 
 					/* rather check the AABBoxes before ever calulating the real distance */
-					/* mathematically it is completly nuts, but performance is pretty much (3) times faster */
+					/* mathematically it is completely nuts, but performance is pretty much (3) times faster */
 					if ((ABS(def[0]) > compare) || (ABS(def[1]) > compare) || (ABS(def[2]) > compare)) continue;
 
 					distance = normalize_v3(def);
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c
index 5192a51..064eace 100644
--- a/source/blender/blenkernel/intern/subsurf_ccg.c
+++ b/source/blender/blenkernel/intern/subsurf_ccg.c
@@ -796,7 +796,7 @@ static void ss_sync_from_derivedmesh(CCGSubSurf *ss,
 {
 #ifdef WITH_OPENSUBDIV
 	/* Reset all related descriptors if actual mesh topology changed or if
-	 * other evlauation-related settings changed.
+	 * other evaluation-related settings changed.
 	 */
 	if (!ccgSubSurf_needGrids(ss)) {
 		/* TODO(sergey): Use vertex coordinates and flat subdiv flag. */
@@ -4803,7 +4803,7 @@ struct DerivedMesh *subsurf_make_derived_from_derived(
 				 *
 				 * TODO(sergey): There was a good eason why final calculation
 				 * used to free entirely cached subsurf structure. reason of
-				 * this is to be investiated still to be sure we don't have
+				 * this is to be investigated still to be sure we don't have
 				 * regressions here.
 				 */
 				if (use_gpu_backend) {
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c
index 0668e7f..edda852 100644
--- a/source/blender/blenkernel/intern/writeffmpeg.c
+++ b/source/blender/blenkernel/intern/writeffmpeg.c
@@ -746,7 +746,7 @@ static AVStream *alloc_audio_stream(FFMpegContext *context, RenderData *rd, int
 	av_dict_free(&opts);
 
 	/* need to prevent floating point exception when using vorbis audio codec,
-	 * initialize this value in the same way as it's done in FFmpeg iteslf (sergey) */
+	 * initialize this value in the same way as it's done in FFmpeg itself (sergey) */
 	st->codec->time_base.num = 1;
 	st->codec->time_base.den = st->codec->sample_rate;
 
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c
index 91ac0ce..7e6dabd 100644
--- a/source/blender/blenlib/intern/BLI_ghash.c
+++ b/source/blender/blenlib/intern/BLI_ghash.c
@@ -653,7 +653,7 @@ GHash *BLI_ghash_copy(GHash *gh, GHashKeyCopyFP keycopyfp, GHashValCopyFP valcop
 }
 
 /**
- * Reverve given ammount of entries (resize \a gh accordingly if needed).
+ * Reserve given amount of entries (resize \a gh accordingly if needed).
  */
 void BLI_ghash_reserve(GHash *gh, const unsigned int nentries_reserve)
 {
diff --git a/source/blender/blenlib/intern/array_utils.c b/source/blender/blenlib/intern/array_utils.c
index 65c653c..cef912e 100644
--- a/source/blender/blenlib/intern/array_utils.c
+++ b/source/blender/blenlib/intern/array_utils.c
@@ -90,7 +90,7 @@ void _bli_array_wrap(void *arr_v, unsigned int arr_len, size_t arr_stride, int d
 
 /**
  *In-place array permute.
- * (re-arrange elemrnts based on an array of indices).
+ * (re-arrange elements based on an array of indices).
  *
  * Access via #BLI_array_wrap
  */
diff --git a/source/blender/blenlib/intern/math_color_blend_inline.c b/source/blender/blenlib/intern/math_color_blend_inline.c
index 73a7259..88be86a 100644
--- a/source/blender/blenlib/intern/math_color_blend_inline.c
+++ b/source/blender/blenlib/intern/math_color_blend_inline.c
@@ -36,7 +36,7 @@
 #ifndef __MATH_COLOR_BLEND_INLINE_C__
 #define __MATH_COLOR_BLEND_INLINE_C__
 
-/* don't add any saturation to a completly black and white image */
+/* don't add any saturation to a completely black and white image */
 #define EPS_SATURATION 0.0005f
 #define EPS_ALPHA 0.0005f
 
diff --git a/source/blender/blenlib/intern/math_statistics.c b/source/blender/blenlib/intern/math_statistics.c
index 3f1bae5..a8cb8e2 100644
--- a/source/blender/blenlib/intern/math_statistics.c
+++ b/source/blender/blenlib/intern/math_statistics.c
@@ -39,7 +39,7 @@
 /**
  * \brief Compute the covariance matrix of given set of nD coordinates.
  *
- * \param n the dimension of the vectors (and hence, of the covairance matrix to compute).
+ * \param n the dimension of the vectors (and hence, of the covariance matrix to compute).
  * \param cos_vn the nD points to compute covariance from.
  * \param nbr_cos_vn the number of nD coordinates in cos_vn.
  * \param center the center (or mean point) of cos_vn. If NULL, it is assumed cos_vn is already centered.
diff --git a/source/blender/bl

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list