mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-15 16:59:39 +02:00
Fix wanings
This commit is contained in:
parent
8c121a531d
commit
9ca0ee05dc
1 changed files with 1 additions and 1 deletions
|
@ -2096,7 +2096,7 @@ AttachmentData MyAvatar::entityPropertiesToAttachmentData(const EntityItemProper
|
|||
data.translation = properties.getLocalPosition();
|
||||
data.rotation = properties.getLocalRotation();
|
||||
data.isSoft = properties.getRelayParentJoints();
|
||||
quint16 jointIndex = properties.getParentJointIndex();
|
||||
int jointIndex = (int)properties.getParentJointIndex();
|
||||
if (jointIndex > -1 && jointIndex < getJointNames().size()) {
|
||||
data.jointName = getJointNames()[jointIndex];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue