GP: Undo center calculation

This is breaking the transformation with falloff enabled.
This commit is contained in:
Antonioya
2018-12-20 19:15:01 +01:00
parent 9ebd309e2b
commit cb95d20595

View File

@@ -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;