[Bf-blender-cvs] [b1cac03fe59] master: GPencil: Fix error in previous commit

Antonio Vazquez noreply at git.blender.org
Sat Sep 21 10:40:11 CEST 2019


Commit: b1cac03fe59c6e5af5c20913490cb87aa313b061
Author: Antonio Vazquez
Date:   Fri Sep 20 13:41:23 2019 +0200
Branches: master
https://developer.blender.org/rBb1cac03fe59c6e5af5c20913490cb87aa313b061

GPencil: Fix error in previous commit

Related to T70116

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c
index bffdf6d0d08..be265ed4bd5 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -1192,7 +1192,7 @@ static int gpencil_generic_select_exec(bContext *C,
           if ((!is_multiedit) && (pt->runtime.pt_orig == NULL)) {
             continue;
           }
-          bGPDspoint *pt_active = (is_multiedit) ? pt->runtime.pt_orig : pt;
+          bGPDspoint *pt_active = (!is_multiedit) ? pt->runtime.pt_orig : pt;
 
           if (sel_op_result) {
             pt_active->flag |= GP_SPOINT_SELECT;



More information about the Bf-blender-cvs mailing list