potential fix for offset soft attachments

This commit is contained in:
HifiExperiments 2021-02-11 19:01:51 -08:00
parent c869554d46
commit 56fa4698da
2 changed files with 1 additions and 1 deletions

View file

@ -33,7 +33,6 @@ SkeletonModel::SkeletonModel(Avatar* owningAvatar, QObject* parent) :
{
// SkeletonModels, and by extention Avatars, use Dual Quaternion skinning.
_useDualQuaternionSkinning = true;
_forceOffset = true;
// Avatars all cast shadow
setCanCastShadow(true);

View file

@ -151,6 +151,7 @@ void Model::setOffset(const glm::vec3& offset) {
// if someone manually sets our offset, then we are no longer snapped to center
_snapModelToRegistrationPoint = false;
_snappedToRegistrationPoint = false;
_forceOffset = true;
}
void Model::calculateTextureInfo() {