This commit is contained in:
Seth Alves 2015-10-13 15:14:34 -07:00
parent 257e3845de
commit 4fa85441b8

View file

@ -110,11 +110,11 @@ bool AvatarActionHold::updateArguments(QVariantMap arguments) {
ok = true;
auto myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar();
auto holderID = myAvatar->getSessionUUID();
QString holderIDString =
EntityActionInterface::extractStringArgument("hold", arguments, "hand", ok, false);
if (ok) {
holderID = QUuid(holderIDString);
}
// QString holderIDString =
// EntityActionInterface::extractStringArgument("hold", arguments, "hand", ok, false);
// if (ok) {
// holderID = QUuid(holderIDString);
// }
if (relativePosition != _relativePosition
|| relativeRotation != _relativeRotation