Merge branch 'master' of github.com:highfidelity/hifi into overlay-or-grab-not-both

This commit is contained in:
Seth Alves 2016-05-19 09:48:50 -07:00
commit 6c3c9f45d1
2 changed files with 2 additions and 3 deletions

View file

@ -234,7 +234,5 @@ void VrMenu::removeAction(QAction* action) {
QObject* menu = item->parent();
// Proxy QuickItem requests through the QML layer
QQuickMenuBase* qmlItem = reinterpret_cast<QQuickMenuBase*>(item);
bool invokeResult = QMetaObject::invokeMethod(menu, "removeItem", Qt::DirectConnection,
Q_ARG(QQuickMenuBase*, qmlItem));
Q_ASSERT(invokeResult);
QMetaObject::invokeMethod(menu, "removeItem", Qt::DirectConnection, Q_ARG(QQuickMenuBase*, qmlItem));
}

View file

@ -40,6 +40,7 @@ var DEFAULT_SOUND_DATA = {
Script.include("../../libraries/utils.js");
Agent.isAvatar = true; // This puts a robot at 0,0,0, but is currently necessary in order to use AvatarList.
Avatar.skeletonModelURL = "http://invalid-url";
function ignore() {}
function debug() { // Display the arguments not just [Object object].
//print.apply(null, [].map.call(arguments, JSON.stringify));