[Bf-blender-cvs] [999215da53f] temp-gpencil-bezier-stroke-type: GPencil: Fix select_all_curve_points select stroke
Falk David
noreply at git.blender.org
Wed Mar 17 10:14:14 CET 2021
Commit: 999215da53ff8b5598a7ea6b8fc0b56eebb4da60
Author: Falk David
Date: Wed Mar 17 10:13:20 2021 +0100
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rB999215da53ff8b5598a7ea6b8fc0b56eebb4da60
GPencil: Fix select_all_curve_points select stroke
`select_all_curve_points` would select the stroke aswell, showing the
individual points.
===================================================================
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 43afd1745ce..e756d9ceb11 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -209,12 +209,10 @@ static void select_all_curve_points(bGPdata *gpd, bGPDstroke *gps, bGPDcurve *gp
if (deselect == false) {
gpc->flag |= GP_CURVE_SELECT;
- gps->flag |= GP_STROKE_SELECT;
BKE_gpencil_stroke_select_index_set(gpd, gps);
}
else {
gpc->flag &= ~GP_CURVE_SELECT;
- gps->flag &= ~GP_STROKE_SELECT;
BKE_gpencil_stroke_select_index_reset(gps);
}
}
More information about the Bf-blender-cvs
mailing list