mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 08:18:05 +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)) {
|
||||
EntityActionPointer action = _objectActions[actionID];
|
||||
result = action->getArguments();
|
||||
result["type"] = EntityActionInterface::actionTypeToString(action->getType());
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue