mirror of
https://github.com/lubosz/overte.git
synced 2025-04-26 19:15:32 +02:00
Merge pull request #1029 from HifiExperiments/offsetFix
Fix for offset soft attachments
This commit is contained in:
commit
d628b4f976
2 changed files with 1 additions and 1 deletions
libraries
|
@ -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);
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue