mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 00:53:17 +02:00
parent
7e4d50d732
commit
81b2af88ae
1 changed files with 2 additions and 1 deletions
|
@ -304,10 +304,11 @@ bool Model::updateGeometry() {
|
||||||
// initJointStates() to fail to make _rig.jointStatesEmpty() false, causing things to end up here twice.
|
// initJointStates() to fail to make _rig.jointStatesEmpty() false, causing things to end up here twice.
|
||||||
//
|
//
|
||||||
// In any case it appears to be safe to simply clear _meshStates here, even though this shouldn't happen.
|
// In any case it appears to be safe to simply clear _meshStates here, even though this shouldn't happen.
|
||||||
_meshStates.clear();
|
|
||||||
qCWarning(renderutils) << "_meshStates has" << _meshStates.size() << "items when it should have none. Model with URL "
|
qCWarning(renderutils) << "_meshStates has" << _meshStates.size() << "items when it should have none. Model with URL "
|
||||||
<< _url.toString() << "; translation" << _translation << "; rotation" << _rotation << "; scale" << _scale
|
<< _url.toString() << "; translation" << _translation << "; rotation" << _rotation << "; scale" << _scale
|
||||||
<< "; joint state count" << _rig.getJointStateCount() << "; type" << (modelProviderType == NestableType::Avatar ? "Avatar" : "Entity");
|
<< "; joint state count" << _rig.getJointStateCount() << "; type" << (modelProviderType == NestableType::Avatar ? "Avatar" : "Entity");
|
||||||
|
_meshStates.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
const HFMModel& hfmModel = getHFMModel();
|
const HFMModel& hfmModel = getHFMModel();
|
||||||
|
|
Loading…
Reference in a new issue