mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 17:54:00 +02:00
Merge branch 'master' of github.com:highfidelity/hifi into overlay-or-grab-not-both
This commit is contained in:
commit
6c3c9f45d1
2 changed files with 2 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue