[Bf-blender-cvs] [bc540c57f45] soc-2020-greasepencil-curve: GPencil: Fix selection

Falk David noreply at git.blender.org
Sat Jun 27 21:32:27 CEST 2020


Commit: bc540c57f454b8e87962536b190c8c91a6930782
Author: Falk David
Date:   Sat Jun 27 14:31:01 2020 +0200
Branches: soc-2020-greasepencil-curve
https://developer.blender.org/rBbc540c57f454b8e87962536b190c8c91a6930782

GPencil: Fix selection

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

M	source/blender/blenkernel/intern/gpencil_curve.c

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

diff --git a/source/blender/blenkernel/intern/gpencil_curve.c b/source/blender/blenkernel/intern/gpencil_curve.c
index 770d4f094b6..b0c0e819fa5 100644
--- a/source/blender/blenkernel/intern/gpencil_curve.c
+++ b/source/blender/blenkernel/intern/gpencil_curve.c
@@ -540,7 +540,7 @@ void BKE_gpencil_stroke_editcurve_update(bGPDstroke *gps, float error_threshold)
     return;
   }
   /* update the selection based on the selected points in the stroke */
-  BKE_gpencil_editcurve_sync_selection(gps, editcurve);
+  BKE_gpencil_editcurve_stroke_sync_selection(gps, editcurve);
   gps->editcurve = editcurve;
 }



More information about the Bf-blender-cvs mailing list