[Bf-blender-cvs] [0231cfcecfa] temp-lanpr-cleanup: GPencil: Fix error in previous commit

Antonio Vazquez noreply at git.blender.org
Wed Sep 25 03:49:40 CEST 2019


Commit: 0231cfcecfad3531cca4335bd5a002c076f5f33f
Author: Antonio Vazquez
Date:   Fri Sep 20 13:41:23 2019 +0200
Branches: temp-lanpr-cleanup
https://developer.blender.org/rB0231cfcecfad3531cca4335bd5a002c076f5f33f

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