[Bf-blender-cvs] [cb95d205952] blender2.8: GP: Undo center calculation
Antonioya
noreply at git.blender.org
Thu Dec 20 19:15:09 CET 2018
Commit: cb95d20595217bbbf80bcc133a9ae1cd87143fdb
Author: Antonioya
Date: Thu Dec 20 19:15:01 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBcb95d20595217bbbf80bcc133a9ae1cd87143fdb
GP: Undo center calculation
This is breaking the transformation with falloff enabled.
===================================================================
M source/blender/editors/transform/transform_conversions.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list