Skip to content

Commit ed37e15

Browse files
committed
Fixed bug: scale before translating during optimization
1 parent 40f5362 commit ed37e15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

body_models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def deform_verts(self,
102102
betas=betas,
103103
global_orient=global_orient).vertices[0]
104104

105-
return (deformed_verts + trans) * scale
105+
# return (deformed_verts + trans) * scale
106+
return (deformed_verts * scale) + trans
106107

107108

108109
class BodyModel():

0 commit comments

Comments
 (0)