mirror of
https://github.com/overte-org/overte.git
synced 2025-08-16 13:11:37 +02:00
if new action data is the same as the old action data, don't re-unpack it
This commit is contained in:
parent
7def9c2e28
commit
0739c46249
1 changed files with 3 additions and 0 deletions
|
@ -1432,6 +1432,9 @@ bool EntityItem::clearActions(EntitySimulation* simulation) {
|
|||
}
|
||||
|
||||
void EntityItem::setActionData(QByteArray actionData) {
|
||||
if (_actionData == actionData) {
|
||||
return;
|
||||
}
|
||||
_actionData = actionData;
|
||||
if (actionData.size() == 0) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue