mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:53:26 +02:00
fix-up parentJointIndex in terse logging
This commit is contained in:
parent
d518a4573e
commit
138125faab
1 changed files with 8 additions and 0 deletions
|
@ -740,6 +740,14 @@ void EntityTree::fixupTerseEditLogging(EntityItemProperties& properties, QList<Q
|
|||
changedProperties[index] = QString("userData:") + changeHint;
|
||||
}
|
||||
}
|
||||
|
||||
if (properties.parentJointIndexChanged()) {
|
||||
int index = changedProperties.indexOf("parentJointIndex");
|
||||
if (index >= 0) {
|
||||
quint16 value = properties.getParentJointIndex();
|
||||
changedProperties[index] = QString("parentJointIndex:") + QString::number((int)value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int EntityTree::processEditPacketData(NLPacket& packet, const unsigned char* editData, int maxLength,
|
||||
|
|
Loading…
Reference in a new issue