Commit: da342a79a4fa12fcdc76d0dccc4dfb398ed5e1c1
Author: Bastien Montagne
Date:   Wed Feb 4 18:16:49 2015 +0100
Branches: temp_custom_loop_normals
https://developer.blender.org/rBda342a79a4fa12fcdc76d0dccc4dfb398ed5e1c1

Fix own stupid mistake in removing of 'use_current_clnors' option...

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

M       source/blender/modifiers/intern/MOD_normal_edit.c

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

diff --git a/source/blender/modifiers/intern/MOD_normal_edit.c 
b/source/blender/modifiers/intern/MOD_normal_edit.c
index 9c8849d..39881f4 100644
--- a/source/blender/modifiers/intern/MOD_normal_edit.c
+++ b/source/blender/modifiers/intern/MOD_normal_edit.c
@@ -329,9 +329,9 @@ static void normalEditModifier_do(NormalEditModifierData 
*smd, Object *ob, Deriv
        MPoly *mpoly = dm->getPolyArray(dm);
 
        const bool use_invert_vgroup = ((smd->flag & 
MOD_NORMALEDIT_INVERT_VGROUP) != 0);
-       const bool use_current_clnors = (smd->mix_mode == 
MOD_NORMALEDIT_MIX_COPY) &&
-                                       (smd->mix_factor == 1.0f) &&
-                                       (smd->defgrp_name[0] == '\0');
+       const bool use_current_clnors = !((smd->mix_mode == 
MOD_NORMALEDIT_MIX_COPY) &&
+                                         (smd->mix_factor == 1.0f) &&
+                                         (smd->defgrp_name[0] == '\0'));
 
        int defgrp_index;
        MDeformVert *dvert;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to