mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 18:26:52 +02:00
no NULL check on delete SkeletonModel::_ragdoll
This commit is contained in:
parent
432c14408c
commit
77047b0130
1 changed files with 2 additions and 4 deletions
|
@ -34,10 +34,8 @@ SkeletonModel::SkeletonModel(Avatar* owningAvatar, QObject* parent) :
|
|||
}
|
||||
|
||||
SkeletonModel::~SkeletonModel() {
|
||||
if (_ragdoll) {
|
||||
delete _ragdoll;
|
||||
_ragdoll = NULL;
|
||||
}
|
||||
delete _ragdoll;
|
||||
_ragdoll = NULL;
|
||||
}
|
||||
|
||||
void SkeletonModel::setJointStates(QVector<JointState> states) {
|
||||
|
|
Loading…
Reference in a new issue