diff options
author | Antonioya <blendergit@gmail.com> | 2018-12-20 21:15:01 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-12-20 21:15:01 +0300 |
commit | cb95d20595217bbbf80bcc133a9ae1cd87143fdb (patch) | |
tree | 207f1a1f747b169c1572d0c7e88149b3c57511a1 /source/blender/editors | |
parent | 9ebd309e2b96c648ec17efd814d40f8e40f671fb (diff) |
GP: Undo center calculation
This is breaking the transformation with falloff enabled.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index 61230e75370..f55254c6370 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -8455,7 +8455,8 @@ static void createTransGPencil(bContext *C, TransInfo *t) /* do point... */ if (point_ok) { copy_v3_v3(td->iloc, &pt->x); - copy_v3_v3(td->center, center); + /* GPXX disable center while get better solution */ + copy_v3_v3(td->center, &pt->x); td->loc = &pt->x; |