From 3a7fd309fce89213b0224b3c6807adb2d1fe7ca8 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Mon, 19 Oct 2020 08:12:33 -0700 Subject: Spelling: It's Versus Its Corrects incorrect usage of contraction for 'it is', when possessive 'its' was required. Differential Revision: https://developer.blender.org/D9250 Reviewed by Campbell Barton --- source/blender/editors/animation/anim_filter.c | 4 ++-- source/blender/editors/armature/armature_add.c | 4 ++-- source/blender/editors/armature/armature_select.c | 2 +- source/blender/editors/armature/pose_transform.c | 4 ++-- source/blender/editors/include/ED_keyframing.h | 2 +- source/blender/editors/interface/interface.c | 2 +- source/blender/editors/interface/interface_panel.c | 2 +- source/blender/editors/interface/interface_region_tooltip.c | 2 +- source/blender/editors/interface/interface_template_search_menu.c | 2 +- source/blender/editors/interface/interface_templates.c | 2 +- source/blender/editors/interface/interface_widgets.c | 2 +- source/blender/editors/mask/mask_ops.c | 2 +- source/blender/editors/mesh/editmesh_select.c | 4 ++-- source/blender/editors/sculpt_paint/paint_vertex.c | 2 +- source/blender/editors/sculpt_paint/sculpt.c | 4 ++-- source/blender/editors/sculpt_paint/sculpt_detail.c | 2 +- source/blender/editors/sculpt_paint/sculpt_intern.h | 2 +- source/blender/editors/sculpt_paint/sculpt_undo.c | 2 +- source/blender/editors/space_clip/clip_editor.c | 2 +- source/blender/editors/space_clip/tracking_ops.c | 2 +- source/blender/editors/space_clip/tracking_select.c | 2 +- source/blender/editors/space_image/image_buttons.c | 2 +- source/blender/editors/space_info/info_stats.c | 2 +- source/blender/editors/space_info/textview.c | 2 +- source/blender/editors/space_node/node_templates.c | 2 +- source/blender/editors/space_outliner/outliner_utils.c | 2 +- source/blender/editors/space_sequencer/sequencer_draw.c | 2 +- source/blender/editors/space_text/space_text.c | 2 +- source/blender/editors/space_view3d/view3d_draw.c | 2 +- source/blender/editors/space_view3d/view3d_edit.c | 4 ++-- source/blender/editors/space_view3d/view3d_placement.c | 2 +- source/blender/editors/space_view3d/view3d_utils.c | 2 +- source/blender/editors/transform/transform_gizmo_2d.c | 6 +++--- source/blender/editors/undo/ed_undo.c | 2 +- source/blender/editors/uvedit/uvedit_parametrizer.h | 2 +- source/blender/editors/uvedit/uvedit_rip.c | 2 +- 36 files changed, 44 insertions(+), 44 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/animation/anim_filter.c b/source/blender/editors/animation/anim_filter.c index 7cf4cb87fc8..5dff62459ac 100644 --- a/source/blender/editors/animation/anim_filter.c +++ b/source/blender/editors/animation/anim_filter.c @@ -1397,7 +1397,7 @@ static size_t animfilter_act_group(bAnimContext *ac, /* Care about selection status. */ (filter_mode & (ANIMFILTER_SEL | ANIMFILTER_UNSEL))) { /* If the group itself isn't selected appropriately, - * we shouldn't consider it's children either. */ + * we shouldn't consider its children either. */ if (ANIMCHANNEL_SELOK(SEL_AGRP(agrp)) == 0) { return 0; } @@ -1419,7 +1419,7 @@ static size_t animfilter_act_group(bAnimContext *ac, /* special filter so that we can get just the F-Curves within the active group */ if (!(filter_mode & ANIMFILTER_ACTGROUPED) || (agrp->flag & AGRP_ACTIVE)) { /* for the Graph Editor, curves may be set to not be visible in the view to lessen - * clutter, but to do this, we need to check that the group doesn't have it's + * clutter, but to do this, we need to check that the group doesn't have its * not-visible flag set preventing all its sub-curves to be shown */ if (!(filter_mode & ANIMFILTER_CURVE_VISIBLE) || !(agrp->flag & AGRP_NOTVISIBLE)) { diff --git a/source/blender/editors/armature/armature_add.c b/source/blender/editors/armature/armature_add.c index 4d31a5e786b..fde062b8454 100644 --- a/source/blender/editors/armature/armature_add.c +++ b/source/blender/editors/armature/armature_add.c @@ -386,7 +386,7 @@ static void updateDuplicateSubtarget(EditBone *dup_bone, Object *ob, bool lookup_mirror_subtarget) { - /* If an edit bone has been duplicated, lets update it's constraints if the + /* If an edit bone has been duplicated, lets update its constraints if the * subtarget they point to has also been duplicated. */ EditBone *oldtarget, *newtarget; @@ -812,7 +812,7 @@ static void updateDuplicateTransformConstraintSettings(Object *ob, static void updateDuplicateConstraintSettings(EditBone *dup_bone, EditBone *orig_bone, Object *ob) { - /* If an edit bone has been duplicated, lets update it's constraints if the + /* If an edit bone has been duplicated, lets update its constraints if the * subtarget they point to has also been duplicated. */ bPoseChannel *pchan; diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c index c9bcd4f02e9..27718b61d70 100644 --- a/source/blender/editors/armature/armature_select.c +++ b/source/blender/editors/armature/armature_select.c @@ -418,7 +418,7 @@ static bool armature_select_linked_impl(Object *ob, const bool select, const boo * Bones that have been touched are skipped, so the complexity is OK. */ enum { - /* Bone has been walked over, it's LINK value can be read. */ + /* Bone has been walked over, its LINK value can be read. */ TOUCH = (1 << 0), /* When TOUCH has been set, this flag can be checked to see if the bone is connected. */ LINK = (1 << 1), diff --git a/source/blender/editors/armature/pose_transform.c b/source/blender/editors/armature/pose_transform.c index d3f11c5a16f..7ce0a5fb694 100644 --- a/source/blender/editors/armature/pose_transform.c +++ b/source/blender/editors/armature/pose_transform.c @@ -746,7 +746,7 @@ static int pose_copy_exec(bContext *C, wmOperator *op) } /* Sets chan->flag to POSE_KEY if bone selected. */ set_pose_keys(ob); - /* Construct a local bmain and only put object and it's data into it, + /* Construct a local bmain and only put object and its data into it, * o this way we don't expand any other objects into the copy buffer * file. * @@ -767,7 +767,7 @@ static int pose_copy_exec(bContext *C, wmOperator *op) /* begin copy buffer on a temp bmain. */ BKE_copybuffer_begin(temp_bmain); /* Store the whole object to the copy buffer because pose can't be - * existing on it's own. + * existing on its own. */ BKE_copybuffer_tag_ID(&ob_copy.id); BLI_join_dirfile(str, sizeof(str), BKE_tempdir_base(), "copybuffer_pose.blend"); diff --git a/source/blender/editors/include/ED_keyframing.h b/source/blender/editors/include/ED_keyframing.h index 869be81ca43..12d6f1fce54 100644 --- a/source/blender/editors/include/ED_keyframing.h +++ b/source/blender/editors/include/ED_keyframing.h @@ -226,7 +226,7 @@ typedef enum eModifyKey_Returns { MODIFYKEY_MISSING_TYPEINFO = -2, } eModifyKey_Returns; -/* poll the current KeyingSet, updating it's set of paths +/* poll the current KeyingSet, updating its set of paths * (if "builtin"/"relative") for context changes */ eModifyKey_Returns ANIM_validate_keyingset(struct bContext *C, ListBase *dsources, diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index c2a4465af07..5005a41ada7 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -2879,7 +2879,7 @@ char *ui_but_string_get_dynamic(uiBut *but, int *r_str_size) /** * Report a generic error prefix when evaluating a string with #BPY_run_string_as_number - * as the Python error on it's own doesn't provide enough context. + * as the Python error on its own doesn't provide enough context. */ #define UI_NUMBER_EVAL_ERROR_PREFIX IFACE_("Error evaluating number, see Info editor for details") diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c index 48abc1f4d82..991531b4f0d 100644 --- a/source/blender/editors/interface/interface_panel.c +++ b/source/blender/editors/interface/interface_panel.c @@ -331,7 +331,7 @@ void UI_list_panel_unique_str(Panel *panel, char *r_name) } /** - * Free a panel and it's children. Custom data is shared by the panel and its children + * Free a panel and its children. Custom data is shared by the panel and its children * and is freed by #UI_panels_free_instanced. * * \note The only panels that should need to be deleted at runtime are panels with the diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c index 2dc4d33f07e..5c3f00201a2 100644 --- a/source/blender/editors/interface/interface_region_tooltip.c +++ b/source/blender/editors/interface/interface_region_tooltip.c @@ -525,7 +525,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is * * - Direct access to the tool (as if the toolbar button is pressed). * - The key is bound to a brush type (not the exact brush name). - * - The key is assigned to the operator it's self + * - The key is assigned to the operator itself * (bypassing the tool, executing the operator). * * Either way case it's useful to show the shortcut. diff --git a/source/blender/editors/interface/interface_template_search_menu.c b/source/blender/editors/interface/interface_template_search_menu.c index 5bde51846a8..14f97cb14a9 100644 --- a/source/blender/editors/interface/interface_template_search_menu.c +++ b/source/blender/editors/interface/interface_template_search_menu.c @@ -131,7 +131,7 @@ struct MenuSearch_Item { } rna; }; - /** Set when we need each menu item to be able to set it's own context. may be NULL. */ + /** Set when we need each menu item to be able to set its own context. may be NULL. */ struct MenuSearch_Context *wm_context; }; diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c index 592738bdb3b..d4d24b3e3c2 100644 --- a/source/blender/editors/interface/interface_templates.c +++ b/source/blender/editors/interface/interface_templates.c @@ -2967,7 +2967,7 @@ static void rna_update_cb(bContext *C, void *arg_cb, void *UNUSED(arg)) RNAUpdateCb *cb = (RNAUpdateCb *)arg_cb; /* we call update here on the pointer property, this way the - * owner of the curve mapping can still define it's own update + * owner of the curve mapping can still define its own update * and notifier, even if the CurveMapping struct is shared. */ RNA_property_update(C, &cb->ptr, cb->prop); } diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index 68b804f5b28..49760b99d2e 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -390,7 +390,7 @@ static const uint g_shape_preset_hold_action_face[2][3] = {{2, 0, 1}, {3, 5, 4}} * * In order to speed up UI drawing we create some batches that are then * modified by specialized shaders to draw certain elements really fast. - * TODO: find a better place. Maybe it's own file? + * TODO: find a better place. Maybe its own file? * * \{ */ diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index c9fe03dc599..25cc39bf9a0 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -1264,7 +1264,7 @@ void MASK_OT_slide_spline_curvature(wmOperatorType *ot) { /* identifiers */ ot->name = "Slide Spline Curvature"; - ot->description = "Slide a point on the spline to define it's curvature"; + ot->description = "Slide a point on the spline to define its curvature"; ot->idname = "MASK_OT_slide_spline_curvature"; /* api callbacks */ diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index 48405c7f534..91c9d3ed394 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -2687,8 +2687,8 @@ bool EDBM_selectmode_disable_multi(struct bContext *C, * * Overview of the algorithm: * - Groups faces surrounded by edges with 3+ faces using them. - * - Calculates a cost of each face group comparing it's angle with the faces - * connected to it's non-manifold edges. + * - Calculates a cost of each face group comparing its angle with the faces + * connected to its non-manifold edges. * - Mark the face group as interior, and mark connected face groups for recalculation. * - Continue to remove the face groups with the highest 'cost'. * diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index 2876670a8d2..25b1764e562 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -2798,7 +2798,7 @@ static void do_vpaint_brush_calc_average_color_cb_ex(void *__restrict userdata, const MVert *mv = &data->me->mvert[v_index]; if (!use_vert_sel || mv->flag & SELECT) { accum->len += gmap->vert_to_loop[v_index].count; - /* if a vertex is within the brush region, then add it's color to the blend. */ + /* if a vertex is within the brush region, then add its color to the blend. */ for (int j = 0; j < gmap->vert_to_loop[v_index].count; j++) { const int l_index = gmap->vert_to_loop[v_index].indices[j]; col = (char *)(&lcol[l_index]); diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 16b5d770fa2..5ef0b49adf7 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -8140,7 +8140,7 @@ static int ed_object_sculptmode_flush_recalc_flag(Scene *scene, int flush_recalc = 0; /* Multires in sculpt mode could have different from object mode subdivision level. */ flush_recalc |= mmd && mmd->sculptlvl != mmd->lvl; - /* If object has got active modifiers, it's dm could be different in sculpt mode. */ + /* If object has got active modifiers, its dm could be different in sculpt mode. */ flush_recalc |= sculpt_has_active_modifiers(scene, ob); return flush_recalc; } @@ -8349,7 +8349,7 @@ static int sculpt_mode_toggle_exec(bContext *C, wmOperator *op) if (ob->mode & mode_flag) { Mesh *me = ob->data; - /* Dyntopo add's it's own undo step. */ + /* Dyntopo adds its own undo step. */ if ((me->flag & ME_SCULPT_DYNAMIC_TOPOLOGY) == 0) { /* Without this the memfile undo step is used, * while it works it causes lag when undoing the first undo step, see T71564. */ diff --git a/source/blender/editors/sculpt_paint/sculpt_detail.c b/source/blender/editors/sculpt_paint/sculpt_detail.c index 69c92f2baeb..da51d3184b5 100644 --- a/source/blender/editors/sculpt_paint/sculpt_detail.c +++ b/source/blender/editors/sculpt_paint/sculpt_detail.c @@ -111,7 +111,7 @@ static int sculpt_detail_flood_fill_exec(bContext *C, wmOperator *UNUSED(op)) for (int i = 0; i < totnodes; i++) { BKE_pbvh_node_mark_topology_update(nodes[i]); } - /* Get the bounding box, it's center and size. */ + /* Get the bounding box, its center and size. */ BKE_pbvh_bounding_box(ob->sculpt->pbvh, bb_min, bb_max); add_v3_v3v3(center, bb_min, bb_max); mul_v3_fl(center, 0.5f); diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 6055f4e4c8b..f03a9631b0c 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -750,7 +750,7 @@ typedef struct SculptBrushTest { /* For circle (not sphere) projection. */ float plane_view[4]; - /* Some tool code uses a plane for it's calculateions. */ + /* Some tool code uses a plane for its calculations. */ float plane_tool[4]; /* View3d clipping - only set rv3d for clipping */ diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index fa9eb43891c..f1410ffad1b 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -239,7 +239,7 @@ static bool sculpt_undo_restore_coords(bContext *C, Depsgraph *depsgraph, Sculpt /* Propagate new coords to keyblock. */ SCULPT_vertcos_to_key(ob, ss->shapekey_active, vertCos); - /* PBVH uses it's own mvert array, so coords should be */ + /* PBVH uses its own mvert array, so coords should be */ /* propagated to PBVH here. */ BKE_pbvh_vert_coords_apply(ss->pbvh, vertCos, ss->shapekey_active->totelem); diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index 69b89d25a1a..ee9cc0e31df 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -685,7 +685,7 @@ void ED_space_clip_set_clip(bContext *C, bScreen *screen, SpaceClip *sc, MovieCl } } - /* If clip is no longer visible on screen, free memory used by it's cache */ + /* If clip is no longer visible on screen, free memory used by its cache */ if (old_clip && old_clip != clip && !old_clip_visible) { BKE_movieclip_clear_cache(old_clip); } diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index 05fa7a6b587..0631b6ea8a0 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -598,7 +598,7 @@ MovieTrackingTrack *tracking_marker_check_slide( */ min_distance_squared = distance_squared; - /* If search area is visible, check how close to it's sliding + /* If search area is visible, check how close to its sliding * zones mouse is. */ if (sc->flag & SC_SHOW_MARKER_SEARCH) { diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c index 08b95bd46c5..478d22c7582 100644 --- a/source/blender/editors/space_clip/tracking_select.c +++ b/source/blender/editors/space_clip/tracking_select.c @@ -165,7 +165,7 @@ static float dist_to_rect(const float co[2], return sqrtf(min_ffff(d1, d2, d3, d4)); } -/* Distance to quad defined by it's corners, corners are relative to pos */ +/* Distance to quad defined by its corners, corners are relative to pos */ static float dist_to_crns(const float co[2], const float pos[2], const float crns[4][2]) { float d1, d2, d3, d4; diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 0dcc090fa0e..15a4f910684 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -740,7 +740,7 @@ static void rna_update_cb(bContext *C, void *arg_cb, void *UNUSED(arg)) cb->iuser->ok = 1; /* we call update here on the pointer property, this way the - * owner of the image pointer can still define it's own update + * owner of the image pointer can still define its own update * and notifier */ RNA_property_update(C, &cb->ptr, cb->prop); } diff --git a/source/blender/editors/space_info/info_stats.c b/source/blender/editors/space_info/info_stats.c index b6eca8666a6..db8b6240558 100644 --- a/source/blender/editors/space_info/info_stats.c +++ b/source/blender/editors/space_info/info_stats.c @@ -252,7 +252,7 @@ static void stats_object_edit(Object *obedit, SceneStats *stats) stats->totbonesel++; } - /* if this is a connected child and it's parent is being moved, remove our root */ + /* if this is a connected child and its parent is being moved, remove our root */ if ((ebo->flag & BONE_CONNECTED) && (ebo->flag & BONE_ROOTSEL) && ebo->parent && (ebo->parent->flag & BONE_TIPSEL)) { stats->totvertsel--; diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index 4d9a4fb2706..5e0ba506226 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -303,7 +303,7 @@ static bool textview_draw_string(TextViewDrawState *tds, /** * \param r_mval_pick_item: The resulting item clicked on using \a mval_init. * Set from the void pointer which holds the current iterator. - * It's type depends on the data being iterated over. + * Its type depends on the data being iterated over. * \param r_mval_pick_offset: The offset in bytes of the \a mval_init. * Use for selection. */ diff --git a/source/blender/editors/space_node/node_templates.c b/source/blender/editors/space_node/node_templates.c index a7e2ad8fc1c..553971cd0a5 100644 --- a/source/blender/editors/space_node/node_templates.c +++ b/source/blender/editors/space_node/node_templates.c @@ -449,7 +449,7 @@ static bool ui_node_item_special_poll(const bNodeTree *UNUSED(ntree), const bNod { if (STREQ(ntype->idname, "ShaderNodeUVAlongStroke")) { /* TODO(sergey): Currently we don't have Freestyle nodes edited from - * the buttons context, so can ignore it's nodes completely. + * the buttons context, so can ignore its nodes completely. * * However, we might want to do some extra checks here later. */ diff --git a/source/blender/editors/space_outliner/outliner_utils.c b/source/blender/editors/space_outliner/outliner_utils.c index c1551b5c584..86cc6672b0f 100644 --- a/source/blender/editors/space_outliner/outliner_utils.c +++ b/source/blender/editors/space_outliner/outliner_utils.c @@ -62,7 +62,7 @@ void outliner_viewcontext_init(const bContext *C, TreeViewContext *tvc) tvc->ob_edit = OBEDIT_FROM_OBACT(tvc->obact); if ((tvc->obact->type == OB_ARMATURE) || - /* This could be made into it's own function. */ + /* This could be made into its own function. */ ((tvc->obact->type == OB_MESH) && tvc->obact->mode & OB_MODE_WEIGHT_PAINT)) { tvc->ob_pose = BKE_object_pose_armature_get(tvc->obact); } diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 89d6d647ada..e9c5b003420 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -1609,7 +1609,7 @@ static void sequencer_draw_display_buffer(const bContext *C, } /* Format needs to be created prior to any #immBindShader call. - * Do it here because OCIO binds it's own shader. */ + * Do it here because OCIO binds its own shader. */ eGPUTextureFormat format; eGPUDataFormat data; bool glsl_used = false; diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index 4e5949817f3..bb71a9b11be 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -117,7 +117,7 @@ static SpaceLink *text_duplicate(SpaceLink *sl) /* clear or remove stuff from old */ - stextn->runtime.drawcache = NULL; /* space need it's own cache */ + stextn->runtime.drawcache = NULL; /* space need its own cache */ return (SpaceLink *)stextn; } diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 1f4c0dd9eb1..af03cddfbf5 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1531,7 +1531,7 @@ void view3d_draw_region_info(const bContext *C, ARegion *region) else { switch ((eUserpref_MiniAxisType)U.mini_axis_type) { case USER_MINI_AXIS_TYPE_GIZMO: - /* The gizmo handles it's own drawing. */ + /* The gizmo handles its own drawing. */ break; case USER_MINI_AXIS_TYPE_MINIMAL: draw_view_axis(rv3d, rect); diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index 65e4a8765bb..233967fa89d 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -842,7 +842,7 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2]) * This works by blending two horizons: * - Rotated-horizon: `cross_v3_v3v3(xaxis, zvec_global, m_inv[2])` * When only this is used, this turntable rotation works - but it's side-ways - * (as if the entire turn-table has been placed on it's side) + * (as if the entire turn-table has been placed on its side) * While there is no gimble lock, it's also awkward to use. * - Un-rotated-horizon: `m_inv[0]` * When only this is used, the turntable rotation can have gimbal lock. @@ -2763,7 +2763,7 @@ void VIEW3D_OT_dolly(wmOperatorType *ot) /* -------------------------------------------------------------------- */ /** \name View All Operator * - * Move & Zoom the view to fit all of it's contents. + * Move & Zoom the view to fit all of its contents. * \{ */ static bool view3d_object_skip_minmax(const View3D *v3d, diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c index 6c2f4df7004..176fc641085 100644 --- a/source/blender/editors/space_view3d/view3d_placement.c +++ b/source/blender/editors/space_view3d/view3d_placement.c @@ -1150,7 +1150,7 @@ void VIEW3D_OT_interactive_add(struct wmOperatorType *ot) ot->cancel = view3d_interactive_add_cancel; ot->poll = view3d_interactive_add_poll; - /* Note, let the operator we call handle undo and registering it's self. */ + /* Note, let the operator we call handle undo and registering itself. */ /* flags */ ot->flag = 0; diff --git a/source/blender/editors/space_view3d/view3d_utils.c b/source/blender/editors/space_view3d/view3d_utils.c index dcb3179a46d..631994c9b85 100644 --- a/source/blender/editors/space_view3d/view3d_utils.c +++ b/source/blender/editors/space_view3d/view3d_utils.c @@ -1112,7 +1112,7 @@ bool ED_view3d_autodist_depth_seg( /* -------------------------------------------------------------------- */ /** \name View Radius/Distance Utilities * - * Use to calculate a distance to a point based on it's radius. + * Use to calculate a distance to a point based on its radius. * \{ */ float ED_view3d_radius_to_dist_persp(const float angle, const float radius) diff --git a/source/blender/editors/transform/transform_gizmo_2d.c b/source/blender/editors/transform/transform_gizmo_2d.c index 11cde6a9038..c40f3d3f140 100644 --- a/source/blender/editors/transform/transform_gizmo_2d.c +++ b/source/blender/editors/transform/transform_gizmo_2d.c @@ -121,7 +121,7 @@ static void gizmo2d_pivot_point_message_subscribe(struct wmGizmoGroup *gzgroup, /* -------------------------------------------------------------------- */ /** \name Arrow / Cage Gizmo Group * - * Defines public functions, not the gizmo it's self: + * Defines public functions, not the gizmo itself: * * - #ED_widgetgroup_gizmo2d_xform_callbacks_set * - #ED_widgetgroup_gizmo2d_xform_no_cage_callbacks_set @@ -530,7 +530,7 @@ void ED_widgetgroup_gizmo2d_xform_no_cage_callbacks_set(wmGizmoGroupType *gzgt) /* -------------------------------------------------------------------- */ /** \name Scale Handles * - * Defines public functions, not the gizmo it's self: + * Defines public functions, not the gizmo itself: * * - #ED_widgetgroup_gizmo2d_resize_callbacks_set * @@ -686,7 +686,7 @@ void ED_widgetgroup_gizmo2d_resize_callbacks_set(wmGizmoGroupType *gzgt) /* -------------------------------------------------------------------- */ /** \name Rotate Handles * - * Defines public functions, not the gizmo it's self: + * Defines public functions, not the gizmo itself: * * - #ED_widgetgroup_gizmo2d_rotate_setup * diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c index ee33cb04295..47d60cff0f9 100644 --- a/source/blender/editors/undo/ed_undo.c +++ b/source/blender/editors/undo/ed_undo.c @@ -364,7 +364,7 @@ bool ED_undo_is_legacy_compatible_for_property(struct bContext *C, ID *id) if (obact != NULL) { if (obact->mode & OB_MODE_ALL_PAINT) { /* Don't store property changes when painting - * (only do undo pushes on brush strokes which each paint operator handles on it's own). */ + * (only do undo pushes on brush strokes which each paint operator handles on its own). */ CLOG_INFO(&LOG, 1, "skipping undo for paint-mode"); return false; } diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.h b/source/blender/editors/uvedit/uvedit_parametrizer.h index 0de792cb915..833302d7da6 100644 --- a/source/blender/editors/uvedit/uvedit_parametrizer.h +++ b/source/blender/editors/uvedit/uvedit_parametrizer.h @@ -66,7 +66,7 @@ void param_delete(ParamHandle *handle); * ----------------------------- * - charts with less than two pinned vertices are assigned 2 pins * - lscm is divided in three steps: - * - begin: compute matrix and it's factorization (expensive) + * - begin: compute matrix and its factorization (expensive) * - solve using pinned coordinates (cheap) * - end: clean up * - uv coordinates are allowed to change within begin/end, for diff --git a/source/blender/editors/uvedit/uvedit_rip.c b/source/blender/editors/uvedit/uvedit_rip.c index 421e58b1cb5..4da1edea8b4 100644 --- a/source/blender/editors/uvedit/uvedit_rip.c +++ b/source/blender/editors/uvedit/uvedit_rip.c @@ -73,7 +73,7 @@ typedef struct ULData { * around the connected fan are attached to an edge. * * In this case there is no need to detect contiguous loops, - * each isolated case is handled on it's own, no need to walk over selected edges. + * each isolated case is handled on its own, no need to walk over selected edges. * * \note This flag isn't flushed to other loops which could also have this enabled. * Currently it's not necessary since we can start off on any one of these loops, -- cgit v1.2.3