Fix [#31544]: iTaSC assertion when creating armature with no joint. This degenerated case can be obtained by having a single bone in the IK chain and locking all 3 axis. This case was causing an assert in the KDL library. The bug is fixed by simply not creating the IK scene in this case.
This commit is contained in:
@@ -53,12 +53,13 @@ int FixedObject::addEndEffector(const std::string& name)
|
||||
return -1;
|
||||
}
|
||||
|
||||
void FixedObject::finalize()
|
||||
bool FixedObject::finalize()
|
||||
{
|
||||
if (m_finalized)
|
||||
return;
|
||||
return true;
|
||||
initialize(0, m_nframe);
|
||||
m_finalized = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
const Frame& FixedObject::getPose(const unsigned int frameIndex)
|
||||
|
||||
Reference in New Issue
Block a user