Merge pull request #7022 from imgntn/mastertoys

Fix userData for pistol in toybox reset scripts
This commit is contained in:
Eric Levin 2016-02-03 17:47:21 -08:00
commit 2af6c08057
2 changed files with 48 additions and 48 deletions

View file

@ -299,7 +299,6 @@
}, },
dynamic: true, dynamic: true,
userData: JSON.stringify({ userData: JSON.stringify({
grabbableKey: {
wearable: { wearable: {
joints: { joints: {
RightHand: [{ RightHand: [{
@ -324,6 +323,7 @@
}] }]
} }
}, },
grabbableKey: {
invertSolidWhileHeld: true invertSolidWhileHeld: true
}, },
resetMe: { resetMe: {

View file

@ -283,7 +283,6 @@ MasterReset = function() {
damping: 0.5, damping: 0.5,
collisionSoundURL: "http://hifi-content.s3.amazonaws.com/james/pistol/sounds/drop.wav", collisionSoundURL: "http://hifi-content.s3.amazonaws.com/james/pistol/sounds/drop.wav",
userData: JSON.stringify({ userData: JSON.stringify({
grabbableKey: {
wearable: { wearable: {
joints: { joints: {
RightHand: [{ RightHand: [{
@ -308,6 +307,7 @@ MasterReset = function() {
}] }]
} }
}, },
grabbableKey: {
invertSolidWhileHeld: true invertSolidWhileHeld: true
}, },
resetMe: { resetMe: {