Fix wanings

This commit is contained in:
luiscuenca 2018-08-09 12:13:03 -07:00
parent 8c121a531d
commit 9ca0ee05dc

View file

@ -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];
}