Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-02-29 00:55:55 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-02-29 00:55:55 +0400
commit132544dd021f7a9a4e4b5190e027a78e8d8f074f (patch)
treea015d9a1fe6bafe3d9f1e5a490d23d94a91e5a0b /source/blender/editors
parent4f884e21b2ca05fb13f7e675d81f3a07c14f3a67 (diff)
Fix a couple typos in comments.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index dcd8820f749..6a0887c21ff 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -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++) {