mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 22:36:39 +02:00
also add action to _previouslyDeletedActions if the local interface deletes the action
This commit is contained in:
parent
d320f5b6f4
commit
56b50b5fb3
1 changed files with 1 additions and 0 deletions
|
@ -1566,6 +1566,7 @@ bool EntityItem::removeAction(EntitySimulation* simulation, const QUuid& actionI
|
||||||
|
|
||||||
bool EntityItem::removeActionInternal(const QUuid& actionID, EntitySimulation* simulation) {
|
bool EntityItem::removeActionInternal(const QUuid& actionID, EntitySimulation* simulation) {
|
||||||
assertWriteLocked();
|
assertWriteLocked();
|
||||||
|
_previouslyDeletedActions.insert(actionID, usecTimestampNow());
|
||||||
if (_objectActions.contains(actionID)) {
|
if (_objectActions.contains(actionID)) {
|
||||||
if (!simulation) {
|
if (!simulation) {
|
||||||
EntityTreePointer entityTree = _element ? _element->getTree() : nullptr;
|
EntityTreePointer entityTree = _element ? _element->getTree() : nullptr;
|
||||||
|
|
Loading…
Reference in a new issue