[Bf-blender-cvs] [9a7f963a02a] master: Cleanup: comments

Campbell Barton noreply at git.blender.org
Wed Apr 25 12:26:06 CEST 2018


Commit: 9a7f963a02aea2300f2f740c004c398db2a3dac3
Author: Campbell Barton
Date:   Wed Apr 25 12:25:47 2018 +0200
Branches: master
https://developer.blender.org/rB9a7f963a02aea2300f2f740c004c398db2a3dac3

Cleanup: comments

===================================================================

M	source/blender/modifiers/intern/MOD_array.c
M	source/blender/modifiers/intern/MOD_mirror.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c
index b781c47ac56..47c5e9da864 100644
--- a/source/blender/modifiers/intern/MOD_array.c
+++ b/source/blender/modifiers/intern/MOD_array.c
@@ -558,8 +558,8 @@ static DerivedMesh *arrayModifier_doArray(
 	DM_copy_loop_data(dm, result, 0, 0, chunk_nloops);
 	DM_copy_poly_data(dm, result, 0, 0, chunk_npolys);
 
-	/* subsurf for eg wont have mesh data in the
-	 * now add mvert/medge/mface layers */
+	/* Subsurf for eg wont have mesh data in the custom data arrays.
+	 * now add mvert/medge/mpoly layers. */
 
 	if (!CustomData_has_layer(&dm->vertData, CD_MVERT)) {
 		dm->copyVertArray(dm, result_dm_verts);
diff --git a/source/blender/modifiers/intern/MOD_mirror.c b/source/blender/modifiers/intern/MOD_mirror.c
index 1524dbac480..875a1e8d468 100644
--- a/source/blender/modifiers/intern/MOD_mirror.c
+++ b/source/blender/modifiers/intern/MOD_mirror.c
@@ -152,8 +152,8 @@ static DerivedMesh *doMirrorOnAxis(MirrorModifierData *mmd,
 	DM_copy_poly_data(dm, result, 0, 0, maxPolys);
 
 
-	/* subsurf for eg wont have mesh data in the */
-	/* now add mvert/medge/mface layers */
+	/* Subsurf for eg wont have mesh data in the custom data arrays.
+	 * now add mvert/medge/mpoly layers. */
 
 	if (!CustomData_has_layer(&dm->vertData, CD_MVERT)) {
 		dm->copyVertArray(dm, CDDM_get_verts(result));



More information about the Bf-blender-cvs mailing list