[Bf-blender-cvs] [b491577cb7e] blender2.8: Cleanup: Improve comments

Antonioya noreply at git.blender.org
Thu Aug 30 16:45:11 CEST 2018


Commit: b491577cb7e43b4c219559645fe5ae92490422df
Author: Antonioya
Date:   Thu Aug 30 16:44:52 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb491577cb7e43b4c219559645fe5ae92490422df

Cleanup: Improve comments

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

M	source/blender/editors/gpencil/gpencil_paint.c

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

diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index db698afcc1a..f000eac5f94 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -384,7 +384,8 @@ static void gp_stroke_convertcoords(tGPsdata *p, const int mval[2], float out[3]
 			 *	- nothing more needs to be done here, since view_autodist_simple() has already done it
 			 */
 
-			 /* if no valid zdepth, use default mode drawing. */
+			 /* verify valid zdepth, if it's wrong, the default darwing mode is used
+			  * and the function doesn't return now */
 			if (*depth <= 1.0f) {
 				return;
 			}



More information about the Bf-blender-cvs mailing list