mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:58:09 +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,11 +34,9 @@ SkeletonModel::SkeletonModel(Avatar* owningAvatar, QObject* parent) :
|
|||
}
|
||||
|
||||
SkeletonModel::~SkeletonModel() {
|
||||
if (_ragdoll) {
|
||||
delete _ragdoll;
|
||||
_ragdoll = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void SkeletonModel::setJointStates(QVector<JointState> states) {
|
||||
Model::setJointStates(states);
|
||||
|
|
Loading…
Reference in a new issue