Fix T60828: Looptools: error in Vector multiplication

own recent error in rBA73f88be5067b
This commit is contained in:
Philipp Oeser 2019-01-25 10:00:56 +01:00
parent 86eafa6039
commit 6200c4018d
Notes: blender-bot 2023-02-14 19:21:05 +01:00
Referenced by issue #60828, Looptools: "Space" not working.
1 changed files with 2 additions and 2 deletions

View File

@ -798,8 +798,8 @@ def move_verts(object, bm, mapping, move, lock, influence):
if influence < 0:
new_loc = loc
else:
new_loc = loc @ (influence / 100) + \
bm.verts[index].co @ ((100 - influence) / 100)
new_loc = loc * (influence / 100) + \
bm.verts[index].co * ((100 - influence) / 100)
bm.verts[index].co = new_loc
bm.normal_update()
object.data.update()