Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
neka-nat committed Nov 13, 2023
1 parent 316a694 commit 759e241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kinpy/chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def __init__(self, chain: Chain, end_frame_name: str, root_frame_name: str = "")
self._root = chain.find_frame(root_frame_name)
if self._root is None:
raise ValueError("Invalid root frame name %s." % root_frame_name)
self._serial_frames = self._generate_serial_chain_recurse(self._root, end_frame_name)
self._serial_frames = [self._root] + self._generate_serial_chain_recurse(self._root, end_frame_name)
if self._serial_frames is None:
raise ValueError("Invalid end frame name %s." % end_frame_name)

Expand Down

0 comments on commit 759e241

Please sign in to comment.