mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:38:27 +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() {
|
SkeletonModel::~SkeletonModel() {
|
||||||
if (_ragdoll) {
|
delete _ragdoll;
|
||||||
delete _ragdoll;
|
_ragdoll = NULL;
|
||||||
_ragdoll = NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SkeletonModel::setJointStates(QVector<JointState> states) {
|
void SkeletonModel::setJointStates(QVector<JointState> states) {
|
||||||
|
|
Loading…
Reference in a new issue