diff options
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 0ac82e0f775..a2c8e173585 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -8213,15 +8213,7 @@ static void createTransGPencil_center_get( zero_v3(r_center); int tot_sel = 0; for (i = 0, pt = gps->points; i < gps->totpoints; i++, pt++) { - bool point_ok; - if (is_prop_edit) { - point_ok = true; - } - else { - /* Only selected points in selected strokes */ - point_ok = (pt->flag & GP_SPOINT_SELECT) != 0; - } - if (point_ok) { + if (pt->flag & GP_SPOINT_SELECT) { add_v3_v3(r_center, &pt->x); tot_sel++; } |