mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 05:58:28 +02:00
Merge branch 'master' of github.com:highfidelity/hifi
This commit is contained in:
commit
67775c59f1
2 changed files with 7 additions and 2 deletions
|
@ -49,7 +49,10 @@ Item {
|
|||
}
|
||||
|
||||
function pushSource(path) {
|
||||
d.push(Qt.resolvedUrl("../../" + path));
|
||||
// Workaround issue https://bugreports.qt.io/browse/QTBUG-75516 in Qt 5.12.3
|
||||
// by creating the manually, instead of letting StackView do it for us.
|
||||
var item = Qt.createComponent(Qt.resolvedUrl("../../" + path));
|
||||
d.push(item);
|
||||
if (d.currentItem.sendToScript !== undefined) {
|
||||
d.currentItem.sendToScript.connect(tabletMenu.sendToScript);
|
||||
}
|
||||
|
|
|
@ -5171,11 +5171,13 @@ ivec2 Application::getMouse() const {
|
|||
}
|
||||
|
||||
FaceTracker* Application::getActiveFaceTracker() {
|
||||
#ifdef HAVE_DDE
|
||||
auto dde = DependencyManager::get<DdeFaceTracker>();
|
||||
|
||||
if (dde && dde->isActive()) {
|
||||
return static_cast<FaceTracker*>(dde.data());
|
||||
}
|
||||
#endif
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -7218,7 +7220,7 @@ void Application::nodeKilled(SharedNodePointer node) {
|
|||
_octreeProcessor.nodeKilled(node);
|
||||
|
||||
_entityEditSender.nodeKilled(node);
|
||||
|
||||
|
||||
if (node->getType() == NodeType::AudioMixer) {
|
||||
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), "audioMixerKilled");
|
||||
} else if (node->getType() == NodeType::EntityServer) {
|
||||
|
|
Loading…
Reference in a new issue