mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 06:10:00 +02:00
put back old last edited logic
This commit is contained in:
parent
a7861855a7
commit
8274ee3ca9
1 changed files with 1 additions and 1 deletions
|
@ -1572,7 +1572,7 @@ bool EntityItem::setProperties(const EntityItemProperties& properties) {
|
|||
qCDebug(entities) << "EntityItem::setProperties() AFTER update... edited AGO=" << elapsed <<
|
||||
"now=" << now << " getLastEdited()=" << getLastEdited();
|
||||
#endif
|
||||
setLastEdited(now);
|
||||
setLastEdited(properties._lastEdited);
|
||||
if (getDirtyFlags() & (Simulation::DIRTY_TRANSFORM | Simulation::DIRTY_VELOCITIES)) {
|
||||
// anything that sets the transform or velocity must update _lastSimulated which is used
|
||||
// for kinematic extrapolation (e.g. we want to extrapolate forward from this moment
|
||||
|
|
Loading…
Reference in a new issue