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;
                        }
                }
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to