[Bf-blender-cvs] [40825022399] blender2.8: GP: Fix compiler warnings

Antonioya noreply at git.blender.org
Wed Oct 24 22:53:45 CEST 2018


Commit: 40825022399a2966cf39d8f6bca6cc3ce7f270cc
Author: Antonioya
Date:   Wed Oct 24 22:35:37 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB40825022399a2966cf39d8f6bca6cc3ce7f270cc

GP: Fix compiler warnings

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

M	source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
index a98078a6490..e2a257fcb43 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
@@ -439,12 +439,12 @@ static void generateStrokes(
 	if (mmd->layer_pass > 0) {
 		if ((mmd->flag & GP_BUILD_INVERT_LAYERPASS) == 0) {
 			if (gpl->pass_index != mmd->layer_pass) {
-				return false;
+				return;
 			}
 		}
 		else {
 			if (gpl->pass_index == mmd->layer_pass) {
-				return false;
+				return;
 			}
 		}
 	}



More information about the Bf-blender-cvs mailing list