Cleanup: typos
This commit is contained in:
@@ -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 */;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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]);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user