Cleanup: spelling

Also use doxy formatting for warning/note.
This commit is contained in:
Campbell Barton 2016-01-17 13:40:30 +11:00
parent e10a6f987b
commit 63c848da26
6 changed files with 13 additions and 10 deletions

View File

@ -224,7 +224,7 @@ void BKE_library_foreach_ID_link(ID *id, LibraryIDLinkCallback callback, void *u
CALLBACK_INVOKE(scene->set, IDWALK_NOP);
CALLBACK_INVOKE(scene->clip, IDWALK_NOP);
CALLBACK_INVOKE(scene->nodetree, IDWALK_NOP);
/* DO NOT handle scene->basact here, its doubling with the loop over whole scene->base later,
/* DO NOT handle scene->basact here, it's doubling with the loop over whole scene->base later,
* since basact is just a pointer to one of those items. */
CALLBACK_INVOKE(scene->obedit, IDWALK_NOP);

View File

@ -9727,7 +9727,7 @@ void BLO_library_link_copypaste(Main *mainl, BlendHandle *bh)
if (bhead->code == ID_OB) {
/* Instead of instancing Base's directly, postpone until after groups are loaded
* otherwise the base's flag is set incorrecty when groups are used */
* otherwise the base's flag is set incorrectly when groups are used */
Object *ob = (Object *)id;
ob->mode = OB_MODE_OBJECT;
/* ensure give_base_to_objects runs on this object */

View File

@ -497,11 +497,14 @@ void gp_point_to_xy(GP_SpaceConversion *gsc, bGPDstroke *gps, bGPDspoint *pt,
}
}
/* Project screenspace coordinates to 3D-space
* NOTE: We include this as a utility function, since the standard method
* involves quite a few steps, which are invariably always the same
* for all GPencil operations. So, it's nicer to just centralise these.
* WARNING: Assumes that it is getting called in a 3D view only
/**
* Project screenspace coordinates to 3D-space
*
* \note We include this as a utility function, since the standard method
* involves quite a few steps, which are invariably always the same
* for all GPencil operations. So, it's nicer to just centralize these.
*
* \warning Assumes that it is getting called in a 3D view only.
*/
bool gp_point_xy_to_3d(GP_SpaceConversion *gsc, Scene *scene, const float screen_co[2], float r_out[3])
{

View File

@ -262,7 +262,7 @@ static void ui_block_bounds_calc_text(uiBlock *block, float offset)
}
if (bt->next && bt->rect.xmin < bt->next->rect.xmin) {
/* End of this column, and its not the last one. */
/* End of this column, and it's not the last one. */
for (col_bt = init_col_bt; col_bt->prev != bt; col_bt = col_bt->next) {
col_bt->rect.xmin = x1addval;
col_bt->rect.xmax = x1addval + i + block->bounds;

View File

@ -2816,7 +2816,7 @@ static void PE_mirror_x(Scene *scene, Object *ob, int tagged)
/* NOTE: this is not nice to use tessfaces but hard to avoid since pa->num uses tessfaces */
BKE_mesh_tessface_ensure(me);
/* Note: In case psys uses DM tessface indices, we mirror final DM iteslef, not orig mesh. Avoids an (impossible)
/* Note: In case psys uses DM tessface indices, we mirror final DM itself, not orig mesh. Avoids an (impossible)
* dm -> orig -> dm tessface indices conversion... */
mirrorfaces = mesh_get_x_mirror_faces(ob, NULL, use_dm_final_indices ? psmd->dm_final : NULL);

View File

@ -176,7 +176,7 @@ EnumPropertyItem rna_enum_dt_method_edge_items[] = {
{MREMAP_MODE_TOPOLOGY, "TOPOLOGY", 0, "Topology",
"Copy from identical topology meshes"},
{MREMAP_MODE_EDGE_VERT_NEAREST, "VERT_NEAREST", 0, "Nearest Vertices",
"Copy from most similar edge (edge which vertices are the closest of destination edges ones)"},
"Copy from most similar edge (edge which vertices are the closest of destination edge's ones)"},
{MREMAP_MODE_EDGE_NEAREST, "NEAREST", 0, "Nearest Edge",
"Copy from closest edge (using midpoints)"},
{MREMAP_MODE_EDGE_POLY_NEAREST, "POLY_NEAREST", 0, "Nearest Face Edge",