mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 06:16:24 +02:00
back out a couple other unneeded changes
This commit is contained in:
parent
40c5103d2f
commit
9f27e5ff1f
1 changed files with 2 additions and 5 deletions
|
@ -1606,7 +1606,6 @@ bool EntityItem::clearActions(EntitySimulation* simulation) {
|
||||||
_actionsToRemove.clear();
|
_actionsToRemove.clear();
|
||||||
_allActionsDataCache.clear();
|
_allActionsDataCache.clear();
|
||||||
_dirtyFlags |= EntityItem::DIRTY_PHYSICS_ACTIVATION;
|
_dirtyFlags |= EntityItem::DIRTY_PHYSICS_ACTIVATION;
|
||||||
_actionDataDirty = true;
|
|
||||||
});
|
});
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1719,10 +1718,8 @@ void EntityItem::setActionData(QByteArray actionData) {
|
||||||
void EntityItem::setActionDataInternal(QByteArray actionData) {
|
void EntityItem::setActionDataInternal(QByteArray actionData) {
|
||||||
assertWriteLocked();
|
assertWriteLocked();
|
||||||
checkWaitingToRemove();
|
checkWaitingToRemove();
|
||||||
if (_allActionsDataCache != actionData) {
|
_allActionsDataCache = actionData;
|
||||||
_allActionsDataCache = actionData;
|
deserializeActionsInternal();
|
||||||
deserializeActionsInternal();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray EntityItem::serializeActions(bool& success) const {
|
QByteArray EntityItem::serializeActions(bool& success) const {
|
||||||
|
|
Loading…
Reference in a new issue