mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-19 04:17:45 +02:00
send a grab message for action grabs, not just parenting ones
This commit is contained in:
parent
6591329b0c
commit
5b8960e43c
1 changed files with 4 additions and 0 deletions
|
@ -1435,6 +1435,10 @@ function MyController(hand) {
|
|||
if (!this.setupHoldAction()) {
|
||||
return;
|
||||
}
|
||||
Messages.sendMessage('Hifi-Object-Manipulation', JSON.stringify({
|
||||
action: 'grab',
|
||||
grabbedEntity: this.grabbedEntity
|
||||
}));
|
||||
} else {
|
||||
// grab entity via parenting
|
||||
this.actionID = null;
|
||||
|
|
Loading…
Reference in a new issue