mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 23:14:34 +02:00
include action type in arguments delivered to scrips
This commit is contained in:
parent
c539d9f233
commit
9b7ea19087
1 changed files with 1 additions and 0 deletions
|
@ -1563,6 +1563,7 @@ QVariantMap EntityItem::getActionArguments(const QUuid& actionID) {
|
||||||
if (_objectActions.contains(actionID)) {
|
if (_objectActions.contains(actionID)) {
|
||||||
EntityActionPointer action = _objectActions[actionID];
|
EntityActionPointer action = _objectActions[actionID];
|
||||||
result = action->getArguments();
|
result = action->getArguments();
|
||||||
|
result["type"] = EntityActionInterface::actionTypeToString(action->getType());
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue