mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 12:10:44 +02:00
don't include overlays in results from EntityScriptingInterface::getChildrenIDsOfJoint
This commit is contained in:
parent
7ab3e60f36
commit
3b4f5e3023
1 changed files with 4 additions and 3 deletions
|
@ -1364,7 +1364,8 @@ QVector<QUuid> EntityScriptingInterface::getChildrenIDsOfJoint(const QUuid& pare
|
|||
return;
|
||||
}
|
||||
parent->forEachChild([&](SpatiallyNestablePointer child) {
|
||||
if (child->getParentJointIndex() == jointIndex) {
|
||||
if (child->getParentJointIndex() == jointIndex &&
|
||||
child->getNestableType() != NestableType::Overlay) {
|
||||
result.push_back(child->getID());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue