Skip to content

Commit

Permalink
Set origin matrix another way
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Sazhnev committed Jul 31, 2012
1 parent b201518 commit a9ce509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poser2egg.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def collect_joints(self, actor, level):
origin = actor.Origin()
parentOrigin = actor.Parent().Origin()
if actor.Name() == self.figure.ParentActor().Name():
matrix = get_matrix(origin)
matrix = get_matrix(get_matrix([0, 0, 0]))
else:
matrix = get_matrix(vec_subtract(origin, parentOrigin))
vertex_refs = []
Expand Down

0 comments on commit a9ce509

Please sign in to comment.