mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:08:54 +02:00
remove renderingInWorldInterface signals
This commit is contained in:
parent
4a34b142d1
commit
0ba1e8c945
3 changed files with 4 additions and 13 deletions
|
@ -3648,14 +3648,6 @@ void Application::displaySide(RenderArgs* renderArgs, Camera& theCamera, bool se
|
||||||
sceneInterface->setEngineDrawnOverlay3DItems(engineRC->_numDrawnOverlay3DItems);
|
sceneInterface->setEngineDrawnOverlay3DItems(engineRC->_numDrawnOverlay3DItems);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!selfAvatarOnly) {
|
|
||||||
// give external parties a change to hook in
|
|
||||||
{
|
|
||||||
PerformanceTimer perfTimer("inWorldInterface");
|
|
||||||
emit renderingInWorldInterface();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
activeRenderingThread = nullptr;
|
activeRenderingThread = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -347,9 +347,6 @@ signals:
|
||||||
/// Fired when we're simulating; allows external parties to hook in.
|
/// Fired when we're simulating; allows external parties to hook in.
|
||||||
void simulating(float deltaTime);
|
void simulating(float deltaTime);
|
||||||
|
|
||||||
/// Fired when we're rendering in-world interface elements; allows external parties to hook in.
|
|
||||||
void renderingInWorldInterface();
|
|
||||||
|
|
||||||
/// Fired when the import window is closed
|
/// Fired when the import window is closed
|
||||||
void importDone();
|
void importDone();
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,10 @@ GlobalServicesScriptingInterface::GlobalServicesScriptingInterface() {
|
||||||
connect(&accountManager, &AccountManager::logoutComplete, this, &GlobalServicesScriptingInterface::loggedOut);
|
connect(&accountManager, &AccountManager::logoutComplete, this, &GlobalServicesScriptingInterface::loggedOut);
|
||||||
|
|
||||||
_downloading = false;
|
_downloading = false;
|
||||||
connect(Application::getInstance(), &Application::renderingInWorldInterface,
|
QTimer* checkDownloadTimer = new QTimer(this);
|
||||||
this, &GlobalServicesScriptingInterface::checkDownloadInfo);
|
connect(checkDownloadTimer, &QTimer::timeout, this, &GlobalServicesScriptingInterface::checkDownloadInfo);
|
||||||
|
const int CHECK_DOWNLOAD_INTERVAL = MSECS_PER_SECOND / 2;
|
||||||
|
checkDownloadTimer->start(CHECK_DOWNLOAD_INTERVAL);
|
||||||
|
|
||||||
auto discoverabilityManager = DependencyManager::get<DiscoverabilityManager>();
|
auto discoverabilityManager = DependencyManager::get<DiscoverabilityManager>();
|
||||||
connect(discoverabilityManager.data(), &DiscoverabilityManager::discoverabilityModeChanged,
|
connect(discoverabilityManager.data(), &DiscoverabilityManager::discoverabilityModeChanged,
|
||||||
|
|
Loading…
Reference in a new issue