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
path: root/source
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2021-12-27 21:51:32 +0300
committerAntonio Vazquez <blendergit@gmail.com>2021-12-27 21:51:32 +0300
commit336f6f4bbd8eb75c0cc1258e7d9cd367e0983d4d (patch)
tree5cf4aaa5125830d25fffe63686e89733050e66f5 /source
parentd6dd2f51bbf266a7553ceeef381eddc1d769307d (diff)
GPencil: Fix error in previous Cleanup
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c2
1 files changed, 1 insertions, 1 deletions
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;