Commit: 563ed5c38cf10e609cb5f74377a6968c72b45f68
Author: Antonio Vazquez
Date:   Tue Mar 16 15:39:47 2021 +0100
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rB563ed5c38cf10e609cb5f74377a6968c72b45f68

GPencil: Check Stroke type using Evaluated data

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

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 09e05482293..15fbf751ee1 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -2242,7 +2242,7 @@ static int gpencil_select_exec(bContext *C, wmOperator 
*op)
   /* First Pass: Find point which gets hit */
   GP_EVALUATED_STROKES_BEGIN (gpstroke_iter, C, gpl, gps) {
     bGPDstroke *gps_active = (gps->runtime.gps_orig) ? gps->runtime.gps_orig : 
gps;
-    if (GPENCIL_STROKE_TYPE_BEZIER(gps_active)) {
+    if (GPENCIL_STROKE_TYPE_BEZIER(gps)) {
       bGPDcurve *gpc = gps->editcurve;
       bGPDcurve *gpc_active = (gpc->runtime.gpc_orig) ? gpc->runtime.gpc_orig 
: gpc;
       if (gpencil_select_curve_point_closest(C,

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

Reply via email to