Cleanup: spelling in strings
This commit is contained in:
parent
74f45ed9c5
commit
f49dff97d4
|
@ -219,7 +219,7 @@ def enable_addons(addons=None, support=None, disable=False, check_only=False):
|
|||
try:
|
||||
import bpy
|
||||
except ModuleNotFoundError:
|
||||
print("Could not import bpy, enable_addons must be run from whithin Blender.")
|
||||
print("Could not import bpy, enable_addons must be run from within Blender.")
|
||||
return
|
||||
|
||||
if addons is None:
|
||||
|
|
|
@ -177,7 +177,7 @@ eDepsSceneComponentType nodeTypeToSceneComponent(NodeType type)
|
|||
case NodeType::SIMULATION:
|
||||
return DEG_SCENE_COMP_PARAMETERS;
|
||||
}
|
||||
BLI_assert_msg(0, "Unhandled node type, not suppsed to happen.");
|
||||
BLI_assert_msg(0, "Unhandled node type, not supposed to happen.");
|
||||
return DEG_SCENE_COMP_PARAMETERS;
|
||||
}
|
||||
|
||||
|
|
|
@ -5371,7 +5371,7 @@ void ui_draw_menu_item(const uiFontStyle *fstyle,
|
|||
}
|
||||
}
|
||||
else {
|
||||
BLI_assert_msg(0, "Unknwon menu item separator type");
|
||||
BLI_assert_msg(0, "Unknown menu item separator type");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1739,7 +1739,7 @@ void OBJECT_OT_mode_set_with_submode(wmOperatorType *ot)
|
|||
OBJECT_OT_mode_set(ot);
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Set Object Mode with Submode";
|
||||
ot->name = "Set Object Mode with Sub-mode";
|
||||
ot->idname = "OBJECT_OT_mode_set_with_submode";
|
||||
|
||||
/* properties */
|
||||
|
|
|
@ -417,7 +417,7 @@ static SlideMarkerData *create_slide_marker_data(SpaceClip *sc,
|
|||
data->pos = marker->pos;
|
||||
data->offset = track->offset;
|
||||
data->old_markers = MEM_callocN(sizeof(*data->old_markers) * track->markersnr,
|
||||
"slide marekrs");
|
||||
"slide markers");
|
||||
for (int a = 0; a < track->markersnr; a++) {
|
||||
copy_v2_v2(data->old_markers[a], track->markers[a].pos);
|
||||
}
|
||||
|
|
|
@ -958,7 +958,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
|
|||
found = 1;
|
||||
}
|
||||
if (endmntent(fp) == 0) {
|
||||
fprintf(stderr, "could not close the list of mounted filesystems\n");
|
||||
fprintf(stderr, "could not close the list of mounted file-systems\n");
|
||||
}
|
||||
}
|
||||
/* Check gvfs shares. */
|
||||
|
|
|
@ -63,7 +63,7 @@ static char SmoothingShader___doc__[] =
|
|||
"\n"
|
||||
".. method:: shade(stroke)\n"
|
||||
"\n"
|
||||
" Smoothes the stroke by moving the vertices to make the stroke\n"
|
||||
" Smooths the stroke by moving the vertices to make the stroke\n"
|
||||
" smoother. Uses curvature flow to converge towards a curve of\n"
|
||||
" constant curvature. The diffusion method we use is anisotropic to\n"
|
||||
" prevent the diffusion across corners.\n"
|
||||
|
|
|
@ -126,7 +126,7 @@ ImBuf *IMB_ibImageFromMemory(const unsigned char *mem,
|
|||
}
|
||||
|
||||
if ((flags & IB_test) == 0) {
|
||||
fprintf(stderr, "%s: unknown fileformat (%s)\n", __func__, descr);
|
||||
fprintf(stderr, "%s: unknown file-format (%s)\n", __func__, descr);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
|
@ -69,7 +69,7 @@ void IMB_flipy(struct ImBuf *ibuf)
|
|||
|
||||
topf = ibuf->rect_float;
|
||||
bottomf = topf + 4 * ((y - 1) * x);
|
||||
linef = MEM_mallocN(4 * x * sizeof(float), "linebuff");
|
||||
linef = MEM_mallocN(4 * x * sizeof(float), "linebuf");
|
||||
|
||||
y >>= 1;
|
||||
|
||||
|
|
|
@ -1950,7 +1950,7 @@ static PyObject *bpy_bmface_calc_tangent_edge_diagonal(BPy_BMFace *self)
|
|||
PyDoc_STRVAR(bpy_bmface_calc_tangent_vert_diagonal_doc,
|
||||
".. method:: calc_tangent_vert_diagonal()\n"
|
||||
"\n"
|
||||
" Return face tangent based on the two most distent vertices.\n"
|
||||
" Return face tangent based on the two most distant vertices.\n"
|
||||
"\n"
|
||||
" :return: a normalized vector.\n"
|
||||
" :rtype: :class:`mathutils.Vector`\n");
|
||||
|
@ -3464,7 +3464,7 @@ PyDoc_STRVAR(bpy_bmelemseq_doc,
|
|||
":class:`BMVert`, :class:`BMEdge`, :class:`BMFace`, :class:`BMLoop`.\n"
|
||||
"\n"
|
||||
"When accessed via :class:`BMesh.verts`, :class:`BMesh.edges`, :class:`BMesh.faces`\n"
|
||||
"there are also functions to create/remomove items.\n");
|
||||
"there are also functions to create/remove items.\n");
|
||||
PyDoc_STRVAR(bpy_bmiter_doc,
|
||||
"Internal BMesh type for looping over verts/faces/edges,\n"
|
||||
"used for iterating over :class:`BMElemSeq` types.\n");
|
||||
|
|
|
@ -3750,7 +3750,7 @@ PyDoc_STRVAR(
|
|||
" (e.g. returned by :class:`bpy.types.UILayout.icon`)\n"
|
||||
" :number: Unique value used as the identifier for this item (stored in file data).\n"
|
||||
" Use when the identifier may need to change. If the *ENUM_FLAG* option is used,\n"
|
||||
" the values are bitmasks and should be powers of two.\n"
|
||||
" the values are bit-masks and should be powers of two.\n"
|
||||
"\n"
|
||||
" When an item only contains 4 items they define ``(identifier, name, description, "
|
||||
"number)``.\n"
|
||||
|
|
Loading…
Reference in New Issue