Fix a couple typos in comments.

This commit is contained in:
Nicholas Bishop 2012-02-28 20:55:55 +00:00
parent 4f884e21b2
commit 132544dd02
2 changed files with 3 additions and 3 deletions

@ -2363,7 +2363,7 @@ int mesh_recalcTesselation(CustomData *fdata,
totface = mface_index;
/* note essential but without this we store over-alloc'd memory in the CustomData layers */
/* not essential but without this we store over-alloc'd memory in the CustomData layers */
if (LIKELY((MEM_allocN_len(mface) / sizeof(*mface)) != totface)) {
mface = MEM_reallocN(mface, sizeof(*mface) * totface);
mface_to_poly_map = MEM_reallocN(mface_to_poly_map, sizeof(*mface_to_poly_map) * totface);

@ -902,7 +902,7 @@ static void calc_sculpt_normal(Sculpt *sd, Object *ob, float an[3], PBVHNode **n
/* For the smooth brush, uses the neighboring vertices around vert to calculate
a smoothed location for vert. Skips corner vertices (used by only one
polygon.) */
static void neighbor_average(SculptSession *ss, float avg[3], const unsigned vert)
static void neighbor_average(SculptSession *ss, float avg[3], unsigned vert)
{
int i, j, ok, total=0;
IndexNode *node= ss->pmap[vert].first;
@ -923,7 +923,7 @@ static void neighbor_average(SculptSession *ss, float avg[3], const unsigned ver
while(node){
f= &ss->mpoly[node->index];
/* find the loop in the poly whic references this vertex */
/* find the loop in the poly which references this vertex */
ok = FALSE;
ml = ss->mloop + f->loopstart;
for (j = 0; j < f->totloop; j++, ml++) {