send a grab message for action grabs, not just parenting ones

This commit is contained in:
Seth Alves 2016-04-26 13:04:37 -07:00
parent 6591329b0c
commit 5b8960e43c

View file

@ -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;