Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_conversions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index c96a6776b6d..b04a9b08087 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -8448,7 +8448,9 @@ static void createTransGPencil(bContext *C, TransInfo *t)
copy_v3_v3(td->iloc, &pt->x);
/* only copy center in local origins.
* This allows get interesting effects also when move using proportional editing */
- if (ts->transform_pivot_point == V3D_AROUND_LOCAL_ORIGINS) {
+ if ((gps->flag & GP_STROKE_SELECT) &&
+ (ts->transform_pivot_point == V3D_AROUND_LOCAL_ORIGINS))
+ {
copy_v3_v3(td->center, center);
}
else {