History

Merge branch 'master' into 21164

# Conflicts: # scripts/system/audio.js

David Rowe committed 9 years ago

Commit 625f5ef2 parents 77f0fb1 442e8d698 files · +3762 −534Browse files

Showing the changes to interface/src/Application.cpp (1 of 98 files). Show all

Unified · Split

interface/src/Application.cpp+4−5
@@ -869,10 +869,6 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 868 unmodified lines
869869 // connect to the packet sent signal of the _entityEditSender
870870 connect(&_entityEditSender, &EntityEditPacketSender::packetSent, this, &Application::packetSent);
871871
872− // send the identity packet for our avatar each second to our avatar mixer
873− connect(&identityPacketTimer, &QTimer::timeout, myAvatar.get(), &MyAvatar::sendIdentityPacket);
874− identityPacketTimer.start(AVATAR_IDENTITY_PACKET_SEND_INTERVAL_MSECS);
875−
876872 const char** constArgv = const_cast<const char**>(argv);
877873 QString concurrentDownloadsStr = getCmdOption(argc, constArgv, "--concurrent-downloads");
878874 bool success;
@@ -3111,7 +3107,10 @@ void Application::mousePressEvent(QMouseEvent* event) { · 2232 unmodified lines
31113107
31123108 if (!_aboutToQuit) {
31133109 getOverlays().mousePressEvent(&mappedEvent);
3114− getEntities()->mousePressEvent(&mappedEvent);
3110+
3111+ if (!_controllerScriptingInterface->areEntityClicksCaptured()) {
3112+ getEntities()->mousePressEvent(&mappedEvent);
3113+ }
31153114 }
31163115
31173116 _controllerScriptingInterface->emitMousePressEvent(&mappedEvent); // send events to any registered scripts