mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
put some useless consts back
This commit is contained in:
parent
f6a0004f26
commit
a1096510e8
2 changed files with 4 additions and 4 deletions
|
@ -1776,7 +1776,7 @@ void EntityItem::serializeActions(bool& success, QByteArray& result) const {
|
|||
return;
|
||||
}
|
||||
|
||||
QByteArray EntityItem::getActionDataInternal() const {
|
||||
const QByteArray EntityItem::getActionDataInternal() const {
|
||||
if (_actionDataDirty) {
|
||||
bool success;
|
||||
serializeActions(success, _allActionsDataCache);
|
||||
|
@ -1787,7 +1787,7 @@ QByteArray EntityItem::getActionDataInternal() const {
|
|||
return _allActionsDataCache;
|
||||
}
|
||||
|
||||
QByteArray EntityItem::getActionData() const {
|
||||
const QByteArray EntityItem::getActionData() const {
|
||||
QByteArray result;
|
||||
assertUnlocked();
|
||||
|
||||
|
|
|
@ -401,7 +401,7 @@ public:
|
|||
bool removeAction(EntitySimulation* simulation, const QUuid& actionID);
|
||||
bool clearActions(EntitySimulation* simulation);
|
||||
void setActionData(QByteArray actionData);
|
||||
QByteArray getActionData() const;
|
||||
const QByteArray getActionData() const;
|
||||
bool hasActions() { return !_objectActions.empty(); }
|
||||
QList<QUuid> getActionIDs() { return _objectActions.keys(); }
|
||||
QVariantMap getActionArguments(const QUuid& actionID) const;
|
||||
|
@ -415,7 +415,7 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
QByteArray getActionDataInternal() const;
|
||||
const QByteArray getActionDataInternal() const;
|
||||
void setActionDataInternal(QByteArray actionData);
|
||||
|
||||
static bool _sendPhysicsUpdates;
|
||||
|
|
Loading…
Reference in a new issue