Cleanup: style, spelling

This commit is contained in:
Campbell Barton
2016-07-19 10:23:26 +10:00
parent bd59206b5c
commit 3948f65686
5 changed files with 11 additions and 8 deletions

View File

@@ -856,9 +856,10 @@ void BKE_library_update_ID_link_user(ID *id_dst, ID *id_src, const int cd_flag)
/**
* Say whether given \a id_type_owner can use (in any way) a datablock of \a id_type_used.
*
* This is a 'simplified' abstract version of #BKE_library_foreach_ID_link() above, quite useful to reduce
* useless iterations in some cases.
*/
/* This is a 'simplified' abstract version of BKE_library_foreach_ID_link() above, quite useful to reduce
* useless ietrations in some cases. */
bool BKE_library_idtype_can_use_idtype(const short id_type_owner, const short id_type_used)
{
if (id_type_used == ID_AC) {

View File

@@ -2268,7 +2268,7 @@ static void write_meshes(WriteData *wd, ListBase *idbase)
mesh->edit_btmesh = NULL;
/* now fill in polys to mfaces */
/* XXX This breaks writing desing, by using temp allocated memory, which will likely generate
/* XXX This breaks writing design, by using temp allocated memory, which will likely generate
* duplicates in stored 'old' addresses.
* This is very bad, but do not see easy way to avoid this, aside from generating those data
* outside of save process itself.

View File

@@ -124,7 +124,7 @@ typedef struct PathLinkState {
} PathLinkState;
/**
\name Min Dist Dir Util
* \name Min Dist Dir Util
*
* Simply getting the closest intersecting vert/edge is _not_ good enough. see T43792
* we need to get the closest in both directions since the absolute closest may be a dead-end.

View File

@@ -1648,9 +1648,11 @@ static void build_boundary_vertex_only(BevelParams *bp, BevVert *bv, bool constr
}
}
/* Special case of build_boundary when a single edge is beveled.
* The 'width adjust' part of build_boundary has been done already, and
* efirst is the first beveled edge at vertex bv. */
/**
* Special case of build_boundary when a single edge is beveled.
* The 'width adjust' part of build_boundary has been done already,
* and \a efirst is the first beveled edge at vertex \a bv.
*/
static void build_boundary_terminal_edge(BevelParams *bp, BevVert *bv, EdgeHalf *efirst, bool construct)
{
MemArena *mem_arena = bp->mem_arena;

View File

@@ -239,7 +239,7 @@ typedef struct View3D {
float stereo3d_convergence_alpha;
/* Previous viewport draw type.
* Runtime-only, set in the rendered viewport otggle operator.
* Runtime-only, set in the rendered viewport toggle operator.
*/
short prev_drawtype;
short pad1;