[Bf-blender-cvs] [336f6f4bbd8] master: GPencil: Fix error in previous Cleanup

Antonio Vazquez noreply at git.blender.org
Mon Dec 27 19:51:50 CET 2021


Commit: 336f6f4bbd8eb75c0cc1258e7d9cd367e0983d4d
Author: Antonio Vazquez
Date:   Mon Dec 27 19:51:32 2021 +0100
Branches: master
https://developer.blender.org/rB336f6f4bbd8eb75c0cc1258e7d9cd367e0983d4d

GPencil: Fix error in previous Cleanup

===================================================================

M	source/blender/editors/gpencil/gpencil_paint.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c
index f4d398ccaad..5cccf165748 100644
--- a/source/blender/editors/gpencil/gpencil_paint.c
+++ b/source/blender/editors/gpencil/gpencil_paint.c
@@ -585,7 +585,7 @@ static void gpencil_smooth_buffer(tGPsdata *p, float inf, int idx)
     strength += pta->strength * average_fac;
   }
   if (ptb) {
-    copy_v2_v2(b, &ptb->m_xy);
+    copy_v2_v2(b, ptb->m_xy);
     madd_v2_v2fl(sco, b, average_fac);
     pressure += ptb->pressure * average_fac;
     strength += ptb->strength * average_fac;



More information about the Bf-blender-cvs mailing list