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
path: root/source
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
parent4f884e21b2ca05fb13f7e675d81f3a07c14f3a67 (diff)
Fix a couple typos in comments.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/mesh.c2
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c
index a2e7b3a14ac..ef80c225482 100644
--- a/source/blender/blenkernel/intern/mesh.c
+++ b/source/blender/blenkernel/intern/mesh.c
@@ -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);
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++) {