[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46822] trunk/blender/source/blender: code cleanup: spelling
Campbell Barton
ideasman42 at gmail.com
Sun May 20 23:23:26 CEST 2012
Revision: 46822
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46822
Author: campbellbarton
Date: 2012-05-20 21:23:26 +0000 (Sun, 20 May 2012)
Log Message:
-----------
code cleanup: spelling
Modified Paths:
--------------
trunk/blender/source/blender/avi/intern/avi.c
trunk/blender/source/blender/blenlib/intern/math_rotation.c
trunk/blender/source/blender/bmesh/bmesh.h
trunk/blender/source/blender/bmesh/intern/bmesh_queries.c
trunk/blender/source/blender/editors/interface/interface_handlers.c
trunk/blender/source/blender/editors/mesh/editface.c
trunk/blender/source/blender/editors/mesh/editmesh_knife.c
trunk/blender/source/blender/editors/mesh/editmesh_rip.c
trunk/blender/source/blender/editors/mesh/editmesh_select.c
trunk/blender/source/blender/editors/mesh/editmesh_tools.c
trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
trunk/blender/source/blender/editors/space_clip/clip_draw.c
trunk/blender/source/blender/editors/space_graph/graph_edit.c
trunk/blender/source/blender/editors/space_view3d/view3d_view.c
trunk/blender/source/blender/editors/transform/transform.c
trunk/blender/source/blender/editors/transform/transform_conversions.c
trunk/blender/source/blender/editors/transform/transform_input.c
trunk/blender/source/blender/makesdna/DNA_object_types.h
trunk/blender/source/blender/makesdna/intern/makesdna.c
trunk/blender/source/blender/makesrna/intern/rna_wm.c
trunk/blender/source/blender/python/intern/bpy_rna.c
trunk/blender/source/blender/render/intern/source/render_texture.c
Modified: trunk/blender/source/blender/avi/intern/avi.c
===================================================================
--- trunk/blender/source/blender/avi/intern/avi.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/avi/intern/avi.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -831,8 +831,8 @@
if (movie->streams[i].sh.Type == FCC("vids")) {
#if 0
if (movie->streams[i].format == AVI_FORMAT_MJPEG) {
- movie->streams[i].sf = MEM_mallocN(sizeof(AviBitmapInfoHeader)
- + sizeof(AviMJPEGUnknown), "moviestreamformatL");
+ movie->streams[i].sf = MEM_mallocN(sizeof(AviBitmapInfoHeader) +
+ sizeof(AviMJPEGUnknown), "moviestreamformatL");
movie->streams[i].sf_size = sizeof(AviBitmapInfoHeader) + sizeof(AviMJPEGUnknown);
}
else {
Modified: trunk/blender/source/blender/blenlib/intern/math_rotation.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/math_rotation.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/blenlib/intern/math_rotation.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -82,7 +82,7 @@
* \note:
* Assumes a unit quaternion?
*
- * infact not, but you may wan't to use a unit quat, read on...
+ * in fact not, but you may wan't to use a unit quat, read on...
*
* Shortcut for 'q v q*' when \a v is actually a quaternion.
* This removes the need for converting a vector to a quaternion,
Modified: trunk/blender/source/blender/bmesh/bmesh.h
===================================================================
--- trunk/blender/source/blender/bmesh/bmesh.h 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/bmesh/bmesh.h 2012-05-20 21:23:26 UTC (rev 46822)
@@ -225,7 +225,7 @@
*
* - face inset interpolate loop data from face (currently copies - but this stretches UV's in an ugly way)
* - vert slide UV correction (like we have for edge slide)
- * - fill-face edge net - produce consistant normals, currently it won't, fix should be to fill in edge-net node
+ * - fill-face edge net - produce consistent normals, currently it won't, fix should be to fill in edge-net node
* connected with previous one - since they already check for normals of adjacent edge-faces before creating.
*/
Modified: trunk/blender/source/blender/bmesh/intern/bmesh_queries.c
===================================================================
--- trunk/blender/source/blender/bmesh/intern/bmesh_queries.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/bmesh/intern/bmesh_queries.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -745,7 +745,7 @@
* BM_face_create_ngon() on an arbitrary array of verts,
* though be sure to pick an edge which has a face.
*
- * \note This is infact quite a simple check, mainly include this function so the intent is more obvious.
+ * \note This is in fact quite a simple check, mainly include this function so the intent is more obvious.
* We know these 2 verts will _always_ make up the loops edge
*/
void BM_edge_ordered_verts_ex(BMEdge *edge, BMVert **r_v1, BMVert **r_v2,
Modified: trunk/blender/source/blender/editors/interface/interface_handlers.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_handlers.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/interface/interface_handlers.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -1309,7 +1309,7 @@
/* check if position is found */
if (cdist < x) {
- /* check is previous location was infact closer */
+ /* check is previous location was in fact closer */
if (((float)x - cdist) > (cdist_prev - (float)x)) {
but->pos = pos_prev;
}
Modified: trunk/blender/source/blender/editors/mesh/editface.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editface.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/mesh/editface.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -860,7 +860,7 @@
}
if (tot_unique <= tot_unique_prev) {
- /* Finish searching for unique valus when 1 loop dosnt give a
+ /* Finish searching for unique values when 1 loop dosnt give a
* higher number of unique values compared to the previous loop */
break;
}
Modified: trunk/blender/source/blender/editors/mesh/editmesh_knife.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_knife.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/mesh/editmesh_knife.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -308,7 +308,7 @@
/**
* get a KnifeEdge wrapper for an existing BMEdge
- * \note #knife_get_face_kedges / #get_bm_knife_edge are called recusively - KEEP STACK MEM USAGE LOW */
+ * \note #knife_get_face_kedges / #get_bm_knife_edge are called recursively - KEEP STACK MEM USAGE LOW */
static KnifeEdge *get_bm_knife_edge(KnifeTool_OpData *kcd, BMEdge *e)
{
KnifeEdge *kfe = BLI_ghash_lookup(kcd->origedgemap, e);
@@ -365,7 +365,7 @@
}
/**
- * \note #knife_get_face_kedges / #get_bm_knife_edge are called recusively - KEEP STACK MEM USAGE LOW */
+ * \note #knife_get_face_kedges / #get_bm_knife_edge are called recursively - KEEP STACK MEM USAGE LOW */
static ListBase *knife_get_face_kedges(KnifeTool_OpData *kcd, BMFace *f)
{
ListBase *lst = BLI_ghash_lookup(kcd->kedgefacemap, f);
@@ -889,7 +889,7 @@
static void knife_init_colors(KnifeColors *colors)
{
/* possible BMESH_TODO: add explicit themes or calculate these by
- * figuring out constrasting colors with grid / edges / verts
+ * figuring out contrasting colors with grid / edges / verts
* a la UI_make_axis_color */
UI_GetThemeColor3ubv(TH_NURB_VLINE, colors->line);
UI_GetThemeColor3ubv(TH_NURB_ULINE, colors->edge);
Modified: trunk/blender/source/blender/editors/mesh/editmesh_rip.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_rip.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/mesh/editmesh_rip.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -139,7 +139,7 @@
* connected edge loops.
* The reason for using loops like this is because when the edges are split we don't which face user gets the newly
* created edge (its as good as random so we cant assume new edges will be on once side).
- * After splittingm, its very simple to walk along boundary loops since each only has one edge from a single side.
+ * After splitting, its very simple to walk along boundary loops since each only has one edge from a single side.
* - The end loop pairs are stored in an array however to support multiple edge-selection-islands, so you can rip
* multiple selections at once.
* - * Execute the split *
@@ -711,7 +711,7 @@
/* running in face mode hardly makes sense, so convert to region loop and rip */
if (em->bm->totfacesel) {
- /* highly nifty but hard to sypport since the operator can fail and we're left
+ /* highly nifty but hard to support since the operator can fail and we're left
* with modified selection */
// WM_operator_name_call(C, "MESH_OT_region_to_loop", WM_OP_INVOKE_DEFAULT, NULL);
Modified: trunk/blender/source/blender/editors/mesh/editmesh_select.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_select.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/mesh/editmesh_select.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -1270,7 +1270,7 @@
* path found so far to edge n. The visitedhash will of course contain entries
* for edges that have been visited, cost[n] will contain the length of the shortest
* path to edge n found so far, Finally, heap is a priority heap which is built on the
- * the same data as the cost arry, but inverted: it is a worklist of edges prioritized
+ * the same data as the cost array, but inverted: it is a worklist of edges prioritized
* by the shortest path found so far to the edge.
*/
Modified: trunk/blender/source/blender/editors/mesh/editmesh_tools.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/mesh/editmesh_tools.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -3962,7 +3962,7 @@
else if (action == SRT_RANDOMIZE) {
if (totelem[0]) {
- /* Re-init random generator for each element type, to get consistant random when
+ /* Re-init random generator for each element type, to get consistent random when
* enabling/disabling an element type. */
BLI_srandom(seed);
pb = pblock[0] = MEM_callocN(sizeof(char) * totelem[0], "sort_bmelem vert pblock");
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_image.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_image.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -2342,7 +2342,7 @@
/* Use tf_uv_pxoffset instead of tf->uv so we can offset the UV half a pixel
- * this is done so we can avoid offseting all the pixels by 0.5 which causes
+ * this is done so we can avoid offsetting all the pixels by 0.5 which causes
* problems when wrapping negative coords */
xhalfpx = (0.5f + (PROJ_GEOM_TOLERANCE / 3.0f) ) / ibuf_xf;
yhalfpx = (0.5f + (PROJ_GEOM_TOLERANCE / 4.0f) ) / ibuf_yf;
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c 2012-05-20 21:19:55 UTC (rev 46821)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c 2012-05-20 21:23:26 UTC (rev 46822)
@@ -1867,7 +1867,7 @@
*
* So! just balance out the 2 weights, it keeps them equal and everything normalized.
*
- * While it wont hit the desired weight immediatelty as the user waggles their mouse,
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list