[Bf-blender-cvs] [86154b1] master: Cleanup: typos

Campbell Barton noreply at git.blender.org
Mon Nov 16 11:27:40 CET 2015


Commit: 86154b11ee2b461f4463b56f3498b1f68e8dc94a
Author: Campbell Barton
Date:   Mon Nov 16 21:06:40 2015 +1100
Branches: master
https://developer.blender.org/rB86154b11ee2b461f4463b56f3498b1f68e8dc94a

Cleanup: typos

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

M	source/blender/blenkernel/intern/sequencer.c
M	source/blender/editors/interface/interface_handlers.c
M	source/blender/editors/interface/interface_widgets.c
M	source/blender/editors/sculpt_paint/paint_mask.c
M	source/blender/editors/space_clip/tracking_ops.c
M	source/blender/editors/space_view3d/view3d_draw.c
M	source/blender/editors/transform/transform_conversions.c
M	source/blender/gpu/intern/gpu_extensions.c

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

diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 08975fe..633f023 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -3209,7 +3209,7 @@ static ImBuf *seq_render_scene_strip(const SeqRenderData *context, Sequence *seq
 		int height = (scene->r.ysch * scene->r.size) / 100;
 		const char *viewname = BKE_scene_multiview_render_view_name_get(&scene->r, context->view_id);
 
-		/* for old scened this can be uninitialized,
+		/* for old scene this can be uninitialized,
 		 * should probably be added to do_versions at some point if the functionality stays */
 		if (context->scene->r.seq_prev_type == 0)
 			context->scene->r.seq_prev_type = 3 /* == OB_SOLID */;
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 6c3787d..c3fa26f 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -2641,7 +2641,7 @@ static void ui_textedit_set_cursor_select(uiBut *but, uiHandleButtonData *data,
 /**
  * This is used for both utf8 and ascii
  *
- * For unicode buttons, \a buf is treated as unicde.
+ * For unicode buttons, \a buf is treated as unicode.
  */
 static bool ui_textedit_insert_buf(
         uiBut *but, uiHandleButtonData *data,
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index f49d195..da348c8 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -975,7 +975,7 @@ float UI_text_clip_middle_ex(
 	float strwidth;
 
 	/* Add some epsilon to OK width, avoids 'ellipsing' text that nearly fits!
-	 * Better to have a small piece of the last char cut out, than two remaining chars replaced by an allipsis... */
+	 * Better to have a small piece of the last char cut out, than two remaining chars replaced by an ellipsis... */
 	okwidth += 1.0f + UI_DPI_FAC;
 
 	BLI_assert(str[0]);
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c
index 2f63146..ead0fb5 100644
--- a/source/blender/editors/sculpt_paint/paint_mask.c
+++ b/source/blender/editors/sculpt_paint/paint_mask.c
@@ -439,7 +439,7 @@ void PAINT_OT_mask_lasso_gesture(wmOperatorType *ot)
 
 	ot->name = "Mask Lasso Gesture";
 	ot->idname = "PAINT_OT_mask_lasso_gesture";
-	ot->description = "Add mask within the lasso as you move the pointer";
+	ot->description = "Add mask within the lasso as you move the brush";
 
 	ot->invoke = WM_gesture_lasso_invoke;
 	ot->modal = WM_gesture_lasso_modal;
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c
index a19fa97..9fd3bf9 100644
--- a/source/blender/editors/space_clip/tracking_ops.c
+++ b/source/blender/editors/space_clip/tracking_ops.c
@@ -3862,7 +3862,7 @@ static int create_plane_track_tracks_exec(bContext *C, wmOperator *op)
 		clip->tracking.act_track = NULL;
 		clip->tracking.act_plane_track = plane_track;
 
-		/* Copute homoraphies and apply them on marker's corner, so we've got
+		/* Compute homoraphies and apply them on marker's corner, so we've got
 		 * quite nice motion from the very beginning.
 		 */
 		BKE_tracking_track_plane_from_existing_motion(plane_track, framenr);
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index ab0d02a..85180ee 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -3381,7 +3381,7 @@ ImBuf *ED_view3d_draw_offscreen_imbuf(
 	}
 	else {
 		/* Multi-pass render, use accumulation buffer & jitter for 'full' oversampling.
-		 * Use becauise OpenGL may use a lower quality MSAA, and only oversample edges. */
+		 * Use because OpenGL may use a lower quality MSAA, and only over-sample edges. */
 		static float jit_ofs[32][2];
 		float winmat_jitter[4][4];
 		/* use imbuf as temp storage, before writing into it from accumulation buffer */
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 5ba11c9..af2ad13 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -4578,7 +4578,7 @@ void flushTransGraphData(TransInfo *t)
 		/* handle snapping for time values
 		 *	- we should still be in NLA-mapping timespace
 		 *	- only apply to keyframes (but never to handles)
-		 *  - don't do this when cancelling, or else these changes won't go away
+		 *  - don't do this when canceling, or else these changes won't go away
 		 */
 		if ((t->state != TRANS_CANCEL) && (td->flag & TD_NOTIMESNAP) == 0) {
 			switch (sipo->autosnap) {
@@ -4608,7 +4608,7 @@ void flushTransGraphData(TransInfo *t)
 		 *
 		 * NOTE: We also have to apply to td->loc, as that's what the handle-adjustment step below looks
 		 *       to, otherwise we get "swimming handles"
-		 * NOTE: We don't do this when cancelling transforms, or else these changes don't go away
+		 * NOTE: We don't do this when canceling transforms, or else these changes don't go away
 		 */
 		if ((t->state != TRANS_CANCEL) && (td->flag & TD_NOTIMESNAP) == 0 && 
 		    ELEM(sipo->autosnap, SACTSNAP_STEP, SACTSNAP_TSTEP)) 
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 4eef5a7..1edbc90 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -1457,7 +1457,7 @@ GPUOffScreen *GPU_offscreen_create(int width, int height, int samples, char err_
 		if (!GLEW_EXT_framebuffer_multisample ||
 		    !GLEW_ARB_texture_multisample ||
 		    /* Only needed for GPU_offscreen_read_pixels.
-		     * We could add an arg if we intend to use multi-samle
+		     * We could add an arg if we intend to use multi-sample
 		     * offscreen buffers w/o reading their pixels */
 		    !GLEW_EXT_framebuffer_blit ||
 		    /* This is required when blitting from a multi-sampled buffers,




More information about the Bf-blender-cvs mailing list