[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41032] trunk/blender/source/blender: spelling corrections in comments and quiet warning

Campbell Barton ideasman42 at gmail.com
Sat Oct 15 16:14:22 CEST 2011


Revision: 41032
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41032
Author:   campbellbarton
Date:     2011-10-15 14:14:22 +0000 (Sat, 15 Oct 2011)
Log Message:
-----------
spelling corrections in comments and quiet warning

Modified Paths:
--------------
    trunk/blender/source/blender/blenfont/intern/blf_font.c
    trunk/blender/source/blender/blenkernel/intern/constraint.c
    trunk/blender/source/blender/editors/animation/anim_filter.c
    trunk/blender/source/blender/editors/gpencil/editaction_gpencil.c
    trunk/blender/source/blender/editors/interface/interface.c
    trunk/blender/source/blender/editors/interface/interface_regions.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/space_graph/graph_draw.c
    trunk/blender/source/blender/editors/space_sequencer/sequencer_edit.c
    trunk/blender/source/blender/editors/space_view3d/drawobject.c
    trunk/blender/source/blender/editors/transform/transform.c
    trunk/blender/source/blender/makesdna/DNA_action_types.h
    trunk/blender/source/blender/makesdna/DNA_constraint_types.h
    trunk/blender/source/blender/makesdna/DNA_ipo_types.h
    trunk/blender/source/blender/makesrna/intern/rna_object_force.c
    trunk/blender/source/blender/python/intern/bpy_library.c

Modified: trunk/blender/source/blender/blenfont/intern/blf_font.c
===================================================================
--- trunk/blender/source/blender/blenfont/intern/blf_font.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/blenfont/intern/blf_font.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -217,7 +217,7 @@
 	unsigned int i= 0;
 	GlyphBLF **glyph_ascii_table= font->glyph_cache->glyph_ascii_table;
 
-	/* buffer spesific vars*/
+	/* buffer specific vars*/
 	const unsigned char b_col_char[4]= {font->b_col[0] * 255,
 	                                    font->b_col[1] * 255,
 	                                    font->b_col[2] * 255,

Modified: trunk/blender/source/blender/blenkernel/intern/constraint.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/constraint.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/blenkernel/intern/constraint.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -1067,7 +1067,7 @@
 		cob->matrix[2][2]=size[2];
 		
 		/* targetmat[2] instead of ownermat[2] is passed to vectomat
-		 * for backwards compatability it seems... (Aligorith)
+		 * for backwards compatibility it seems... (Aligorith)
 		 */
 		sub_v3_v3v3(vec, cob->matrix[3], ct->matrix[3]);
 		vectomat(vec, ct->matrix[2], 
@@ -2104,7 +2104,7 @@
 {
 	bActionConstraint *data= (bActionConstraint *)cdata;
 	
-	/* set type to 20 (Loc X), as 0 is Rot X for backwards compatability */
+	/* set type to 20 (Loc X), as 0 is Rot X for backwards compatibility */
 	data->type = 20;
 }
 
@@ -2161,7 +2161,7 @@
 		constraint_target_to_mat4(ct->tar, ct->subtarget, tempmat, CONSTRAINT_SPACE_WORLD, ct->space, con->headtail);
 		
 		/* determine where in transform range target is */
-		/* data->type is mapped as follows for backwards compatability:
+		/* data->type is mapped as follows for backwards compatibility:
 		 *	00,01,02	- rotation (it used to be like this)
 		 * 	10,11,12	- scaling
 		 *	20,21,22	- location

Modified: trunk/blender/source/blender/editors/animation/anim_filter.c
===================================================================
--- trunk/blender/source/blender/editors/animation/anim_filter.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/animation/anim_filter.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -361,7 +361,8 @@
 			_doSubChannels=2; \
 		else {\
 			filter_mode |= ANIMFILTER_TMP_PEEK; \
-		}
+		} \
+		(void) _doSubChannels;
 		/* ... standard sub-channel filtering can go on here now ... */
 #define END_ANIMFILTER_SUBCHANNELS \
 		filter_mode = _filter; \

Modified: trunk/blender/source/blender/editors/gpencil/editaction_gpencil.c
===================================================================
--- trunk/blender/source/blender/editors/gpencil/editaction_gpencil.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/gpencil/editaction_gpencil.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -259,7 +259,7 @@
 /* Copy and Paste Tools */
 /* - The copy/paste buffer currently stores a set of GP_Layers, with temporary
  *	GP_Frames with the necessary strokes
- * - Unless there is only one element in the buffer, names are also tested to check for compatability.
+ * - Unless there is only one element in the buffer, names are also tested to check for compatibility.
  * - All pasted frames are offset by the same amount. This is calculated as the difference in the times of
  *	the current frame and the 'first keyframe' (i.e. the earliest one in all channels).
  * - The earliest frame is calculated per copy operation.

Modified: trunk/blender/source/blender/editors/interface/interface.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/interface/interface.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -575,7 +575,7 @@
 /* NOTE: if but->poin is allocated memory for every defbut, things fail... */
 static int ui_but_equals_old(uiBut *but, uiBut *oldbut)
 {
-	/* various properties are being compared here, hopfully sufficient
+	/* various properties are being compared here, hopefully sufficient
 	 * to catch all cases, but it is simple to add more checks later */
 	if(but->retval != oldbut->retval) return 0;
 	if(but->rnapoin.data != oldbut->rnapoin.data) return 0;
@@ -640,7 +640,7 @@
 //				but->flag= oldbut->flag;
 #else
 				/* exception! redalert flag can't be update from old button. 
-				 * perhaps it should only copy spesific flags rather than all. */
+				 * perhaps it should only copy specific flags rather than all. */
 //				but->flag= (oldbut->flag & ~UI_BUT_REDALERT) | (but->flag & UI_BUT_REDALERT);
 #endif
 //				but->active= oldbut->active;
@@ -748,7 +748,7 @@
 	if(but->rnapoin.id.data) {
 		/* avoid undo push for buttons who's ID are screen or wm level
 		 * we could disable undo for buttons with no ID too but may have
-		 * unforseen conciquences, so best check for ID's we _know_ are not
+		 * unforeseen consequences, so best check for ID's we _know_ are not
 		 * handled by undo - campbell */
 		ID *id= but->rnapoin.id.data;
 		if(ID_CHECK_UNDO(id) == FALSE) {
@@ -865,7 +865,7 @@
 
 	/* inherit flags from 'old' buttons that was drawn here previous, based
 	 * on matching buttons, we need this to make button event handling non
-	 * blocking, while still alowing buttons to be remade each redraw as it
+	 * blocking, while still allowing buttons to be remade each redraw as it
 	 * is expected by blender code */
 	for(but=block->buttons.first; but; but=but->next) {
 		if(ui_but_update_from_old_block(C, block, &but))

Modified: trunk/blender/source/blender/editors/interface/interface_regions.c
===================================================================
--- trunk/blender/source/blender/editors/interface/interface_regions.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/interface/interface_regions.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -368,7 +368,7 @@
 	/* create tooltip data */
 	data= MEM_callocN(sizeof(uiTooltipData), "uiTooltipData");
 
-	/* special case, enum rna buttons only have enum item description, use general enum description too before the spesific one */
+	/* special case, enum rna buttons only have enum item description, use general enum description too before the specific one */
 	if(but->rnaprop && RNA_property_type(but->rnaprop) == PROP_ENUM) {
 		const char *descr= RNA_property_description(but->rnaprop);
 		if(descr && descr[0]) {

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_image.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_image.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -3966,7 +3966,7 @@
 		copy_v2_v2(handles[a].mval, pos);
 		copy_v2_v2(handles[a].prevmval, lastpos);
 		
-		/* thread spesific */
+		/* thread specific */
 		handles[a].thread_index = a;
 		
 		handles[a].projImages = (ProjPaintImage *)BLI_memarena_alloc(ps->arena_mt[a], ps->image_tot * sizeof(ProjPaintImage));

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_vertex.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -1619,7 +1619,7 @@
 			}
 		}
 
-		/* important to normalize after mirror, otherwise mirror gets wight
+		/* important to normalize after mirror, otherwise mirror gets weight
 		 * which has already been scaled down in relation to other weights,
 		 * then scales a second time [#26193]. Tricky multi-paint code doesn't
 		 * suffer from this problem - campbell */

Modified: trunk/blender/source/blender/editors/space_graph/graph_draw.c
===================================================================
--- trunk/blender/source/blender/editors/space_graph/graph_draw.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/space_graph/graph_draw.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -340,7 +340,7 @@
 	int sel, b;
 	
 	/* a single call to GL_LINES here around these calls should be sufficient to still
-	 * get separate line segments, but which aren't wrapped with GL_LINE_STRIP everytime we
+	 * get separate line segments, but which aren't wrapped with GL_LINE_STRIP every time we
 	 * want a single line
 	 */
 	glBegin(GL_LINES);

Modified: trunk/blender/source/blender/editors/space_sequencer/sequencer_edit.c
===================================================================
--- trunk/blender/source/blender/editors/space_sequencer/sequencer_edit.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/space_sequencer/sequencer_edit.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -2977,7 +2977,7 @@
 
 		RNA_string_get(op->ptr, "directory", directory);
 		if (is_relative_path) {
-			/* TODO, shouldnt this already be relative from the filesel?
+			/* TODO, shouldn't this already be relative from the filesel?
 			 * (as the 'filepath' is) for now just make relative here,
 			 * but look into changing after 2.60 - campbell */
 			BLI_path_rel(directory, bmain->name);

Modified: trunk/blender/source/blender/editors/space_view3d/drawobject.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/drawobject.c	2011-10-15 14:13:49 UTC (rev 41031)
+++ trunk/blender/source/blender/editors/space_view3d/drawobject.c	2011-10-15 14:14:22 UTC (rev 41032)
@@ -765,7 +765,7 @@
 		else glDepthMask(0);
 		
 		for(vos= strings->first; vos; vos= vos->next) {
-#if 0       // too slow, reading opengl info while drawing is very bad, better to see if we cn use the zbuffer while in pixel space - campbell
+#if 0       // too slow, reading opengl info while drawing is very bad, better to see if we can use the zbuffer while in pixel space - campbell
 			if(v3d->zbuf && (vos->flag & V3D_CACHE_TEXT_ZBUF)) {
 				gluProject(vos->vec[0], vos->vec[1], vos->vec[2], mats.modelview, mats.projection, (GLint *)mats.viewport, &ux, &uy, &uz);

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list