mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +02:00
AttachmentData operator== bug fix
This was causing some changes to not be reflected across the network.
This commit is contained in:
parent
1618e0a92f
commit
098a455b67
1 changed files with 1 additions and 1 deletions
|
@ -1312,7 +1312,7 @@ void AttachmentData::fromJson(const QJsonObject& json) {
|
||||||
|
|
||||||
bool AttachmentData::operator==(const AttachmentData& other) const {
|
bool AttachmentData::operator==(const AttachmentData& other) const {
|
||||||
return modelURL == other.modelURL && jointName == other.jointName && translation == other.translation &&
|
return modelURL == other.modelURL && jointName == other.jointName && translation == other.translation &&
|
||||||
rotation == other.rotation && scale == other.scale;
|
rotation == other.rotation && scale == other.scale && isSoft == other.isSoft;
|
||||||
}
|
}
|
||||||
|
|
||||||
QDataStream& operator<<(QDataStream& out, const AttachmentData& attachment) {
|
QDataStream& operator<<(QDataStream& out, const AttachmentData& attachment) {
|
||||||
|
|
Loading…
Reference in a new issue