[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44533] trunk/blender/source/blender: Fix a couple typos in comments.

Nicholas Bishop nicholasbishop at gmail.com
Tue Feb 28 21:55:55 CET 2012


Revision: 44533
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44533
Author:   nicholasbishop
Date:     2012-02-28 20:55:55 +0000 (Tue, 28 Feb 2012)
Log Message:
-----------
Fix a couple typos in comments.

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/mesh.c
    trunk/blender/source/blender/editors/sculpt_paint/sculpt.c

Modified: trunk/blender/source/blender/blenkernel/intern/mesh.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/mesh.c	2012-02-28 20:46:55 UTC (rev 44532)
+++ trunk/blender/source/blender/blenkernel/intern/mesh.c	2012-02-28 20:55:55 UTC (rev 44533)
@@ -2363,7 +2363,7 @@
 	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);

Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2012-02-28 20:46:55 UTC (rev 44532)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2012-02-28 20:55:55 UTC (rev 44533)
@@ -902,7 +902,7 @@
 /* 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 @@
 	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++) {




More information about the Bf-blender-cvs mailing list