mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +02:00
tweaks
This commit is contained in:
parent
f8fc7bedd7
commit
1e2d2819d5
3 changed files with 3 additions and 6 deletions
|
@ -2823,7 +2823,6 @@ bool EntityItemProperties::encodeEraseEntityMessage(const EntityItemID& entityIt
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EntityItemProperties::encodeCloneEntityMessage(const EntityItemID& entityIDToClone, const EntityItemID& newEntityID, QByteArray& buffer) {
|
bool EntityItemProperties::encodeCloneEntityMessage(const EntityItemID& entityIDToClone, const EntityItemID& newEntityID, QByteArray& buffer) {
|
||||||
|
|
||||||
char* copyAt = buffer.data();
|
char* copyAt = buffer.data();
|
||||||
int outputLength = 0;
|
int outputLength = 0;
|
||||||
|
|
||||||
|
@ -2846,7 +2845,6 @@ bool EntityItemProperties::encodeCloneEntityMessage(const EntityItemID& entityID
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EntityItemProperties::decodeCloneEntityMessage(const QByteArray& buffer, int& processedBytes, EntityItemID& entityIDToClone, EntityItemID& newEntityID) {
|
bool EntityItemProperties::decodeCloneEntityMessage(const QByteArray& buffer, int& processedBytes, EntityItemID& entityIDToClone, EntityItemID& newEntityID) {
|
||||||
|
|
||||||
const unsigned char* packetData = (const unsigned char*)buffer.constData();
|
const unsigned char* packetData = (const unsigned char*)buffer.constData();
|
||||||
const unsigned char* dataAt = packetData;
|
const unsigned char* dataAt = packetData;
|
||||||
size_t packetLength = buffer.size();
|
size_t packetLength = buffer.size();
|
||||||
|
@ -3489,7 +3487,6 @@ QList<QString> EntityItemProperties::listChangedProperties() {
|
||||||
out += "cloneOriginID";
|
out += "cloneOriginID";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
getAnimation().listChangedProperties(out);
|
getAnimation().listChangedProperties(out);
|
||||||
getKeyLight().listChangedProperties(out);
|
getKeyLight().listChangedProperties(out);
|
||||||
getAmbientLight().listChangedProperties(out);
|
getAmbientLight().listChangedProperties(out);
|
||||||
|
|
Loading…
Reference in a new issue