Skip to content

Commit

Permalink
Add warning when failed to clone mimic joint
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Oct 23, 2018
1 parent 4803dee commit 2fb09fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dart/dynamics/Skeleton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,10 @@ SkeletonPtr Skeleton::clone(const std::string& cloneName) const
}
else
{
// TODO(JS): Warning
dterr << "[Skeleton::clone] Failed to clone mimic joint successfully: "
<< "Unable to find the mimic joint ["
<< joint->getMimicJoint()->getName()
<< "] in the clone Skeleton. Please report this as a bug!\n";
}
}
}
Expand Down

0 comments on commit 2fb09fa

Please sign in to comment.