diff options
9 files changed, 13 insertions, 13 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 8c0103d10e6..293d55a6015 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1364,7 +1364,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_settings(Panel, View3DPanel, GreasePen row_mat.template_ID(gp_settings, "material", live_icon=True) else: row_mat.template_ID(context.active_object, "active_material", live_icon=True) - row_mat.enabled = False # will otherwise allow to change material in active slot + row_mat.enabled = False # will otherwise allow changing material in active slot row.prop(gp_settings, "use_material_pin", text="") diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 5f8406e7d37..430d28f67c2 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -4733,7 +4733,7 @@ static bool constructive_modifier_is_deform_modified(ModifierData *md) if (md->type == eModifierType_MeshSequenceCache) { /* NOTE: Not ideal because it's unknown whether topology changes or not. * This will be detected later, so by assuming it's only deformation - * going on here we allow to bake deform-only mesh to Alembic and have + * going on here we allow baking deform-only mesh to Alembic and have * proper motion blur after that. */ return true; diff --git a/source/blender/bmesh/intern/bmesh_mesh.c b/source/blender/bmesh/intern/bmesh_mesh.c index 1393edfe8a2..634db9276a6 100644 --- a/source/blender/bmesh/intern/bmesh_mesh.c +++ b/source/blender/bmesh/intern/bmesh_mesh.c @@ -501,7 +501,7 @@ void BM_mesh_normals_update(BMesh *bm) { float(*edgevec)[3] = MEM_mallocN(sizeof(*edgevec) * bm->totedge, __func__); - /* Parallel mempool iteration does not allow to generate indices inline anymore... */ + /* Parallel mempool iteration does not allow generating indices inline anymore... */ BM_mesh_elem_index_ensure(bm, (BM_EDGE | BM_FACE)); /* calculate all face normals */ diff --git a/source/blender/bmesh/intern/bmesh_mods.h b/source/blender/bmesh/intern/bmesh_mods.h index 46186306fec..7491c309754 100644 --- a/source/blender/bmesh/intern/bmesh_mods.h +++ b/source/blender/bmesh/intern/bmesh_mods.h @@ -80,13 +80,13 @@ BMEdge *BM_edge_rotate(BMesh *bm, BMEdge *e, const bool ccw, const short check_f /** Flags for #BM_edge_rotate */ enum { - /** Disallow to rotate when the new edge matches an existing one. */ + /** Disallow rotating when the new edge matches an existing one. */ BM_EDGEROT_CHECK_EXISTS = (1 << 0), /** Overrides existing check, if the edge already, rotate and merge them. */ BM_EDGEROT_CHECK_SPLICE = (1 << 1), /** Disallow creating bow-tie, concave or zero area faces */ BM_EDGEROT_CHECK_DEGENERATE = (1 << 2), - /** Disallow to rotate into ugly topology. */ + /** Disallow rotating into ugly topology. */ BM_EDGEROT_CHECK_BEAUTY = (1 << 3), }; diff --git a/source/blender/draw/intern/shaders/common_smaa_lib.glsl b/source/blender/draw/intern/shaders/common_smaa_lib.glsl index bd6e8436022..78a62c6ae7d 100644 --- a/source/blender/draw/intern/shaders/common_smaa_lib.glsl +++ b/source/blender/draw/intern/shaders/common_smaa_lib.glsl @@ -240,7 +240,7 @@ * - SMAA::detectMSAAOrder and * - SMAA::msaaReorder * - * These functions allow to match the standard multisample patterns by + * These functions allow matching the standard multisample patterns by * detecting the subsample order for a specific GPU, and reordering * them appropriately. * @@ -1258,8 +1258,8 @@ float4 SMAABlendingWeightCalculationPS(float2 texcoord, SMAATexturePass2D(edgesTex), SMAATexturePass2D(searchTex), offset[0].zw, offset[2].y); d.y = coords.z; - // We want the distances to be in pixel units (doing this here allow to - // better interleave arithmetic and memory accesses): + // We want the distances to be in pixel units (doing this here allows + // better interleaving of arithmetic and memory accesses): d = abs(round(mad(SMAA_RT_METRICS.zz, d, -pixcoord.xx))); // SMAAArea below needs a sqrt, as the areas texture is compressed diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 3fb707078b8..09c33c48170 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -430,7 +430,7 @@ int insert_bezt_fcurve(FCurve *fcu, const BezTriple *bezt, eInsertKeyFlags flag) } } } - /* keyframing modes allow to not replace keyframe */ + /* Keyframing modes allow not replacing the keyframe. */ else if ((flag & INSERTKEY_REPLACE) == 0) { /* insert new - if we're not restricted to replacing keyframes only */ BezTriple *newb = MEM_callocN((fcu->totvert + 1) * sizeof(BezTriple), "beztriple"); diff --git a/source/blender/editors/interface/interface_region_popover.c b/source/blender/editors/interface/interface_region_popover.c index 1a9a663f94e..a9f72233cb1 100644 --- a/source/blender/editors/interface/interface_region_popover.c +++ b/source/blender/editors/interface/interface_region_popover.c @@ -416,7 +416,7 @@ void UI_popover_end(bContext *C, uiPopover *pup, wmKeyMap *keymap) pup->window = window; /* TODO(campbell): we may want to make this configurable. - * The begin/end stype of calling popups doesn't allow to 'can_refresh' to be set. + * The begin/end stype of calling popups doesn't allow 'can_refresh' to be set. * For now close this style of popovers when accessed. */ UI_block_flag_disable(pup->block, UI_BLOCK_KEEP_OPEN); diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index f0cf1f2fbf9..1d5903bf417 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -72,7 +72,7 @@ static bool ptcache_poll(bContext *C) } if (ID_IS_LINKED(id) && (point_cache->flag & PTCACHE_DISK_CACHE) == false) { - CTX_wm_operator_poll_msg_set(C, "Linked data-blocks do not allow to edit caches"); + CTX_wm_operator_poll_msg_set(C, "Linked data-blocks do not allow editing caches"); return false; } @@ -92,7 +92,7 @@ static bool ptcache_add_remove_poll(bContext *C) if (ID_IS_OVERRIDE_LIBRARY_REAL(id) || ID_IS_LINKED(id)) { CTX_wm_operator_poll_msg_set( - C, "Linked or library override data-blocks do not allow to add or remove caches"); + C, "Linked or library override data-blocks do not allow adding or removing caches"); return false; } diff --git a/source/blender/editors/space_node/node_select.c b/source/blender/editors/space_node/node_select.c index 5f3047fbdc2..5060ac0db8a 100644 --- a/source/blender/editors/space_node/node_select.c +++ b/source/blender/editors/space_node/node_select.c @@ -1281,7 +1281,7 @@ void NODE_OT_find_node(wmOperatorType *ot) { /* identifiers */ ot->name = "Find Node"; - ot->description = "Search for named node and allow to select and activate it"; + ot->description = "Search for a node by name and focus and select it"; ot->idname = "NODE_OT_find_node"; /* api callbacks */ |