Skip to content

Commit eab7b8a

Browse files
committed
Merge pull request #284 from personalrobotics/bugfix/clone_reorder
Fixed bug introduced by clone refactor.
2 parents 2df0118 + 9793f0d commit eab7b8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prpy/clone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(self, parent_env, clone_env=None, destroy_on_exit=None,
108108
' while in collision.'
109109
.format(robot.GetName())
110110
)
111-
cloned_robot = self.clone_env.Cloned(robot)
111+
cloned_robot = Cloned(robot, into=self.clone_env)
112112
cloned_robot.RegrabAll()
113113

114114
# Required for InstanceDeduplicator to call CloneBindings for

0 commit comments

Comments
 (0)