mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 01:07:09 +02:00
fix double lasers
This commit is contained in:
parent
b1e7c3d4fd
commit
a665664fd5
1 changed files with 13 additions and 13 deletions
|
@ -6173,6 +6173,19 @@ void Application::update(float deltaTime) {
|
||||||
auto grabManager = DependencyManager::get<GrabManager>();
|
auto grabManager = DependencyManager::get<GrabManager>();
|
||||||
grabManager->simulateGrabs();
|
grabManager->simulateGrabs();
|
||||||
|
|
||||||
|
// TODO: break these out into distinct perfTimers when they prove interesting
|
||||||
|
{
|
||||||
|
PROFILE_RANGE(app, "PickManager");
|
||||||
|
PerformanceTimer perfTimer("pickManager");
|
||||||
|
DependencyManager::get<PickManager>()->update();
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
PROFILE_RANGE(app, "PointerManager");
|
||||||
|
PerformanceTimer perfTimer("pointerManager");
|
||||||
|
DependencyManager::get<PointerManager>()->update();
|
||||||
|
}
|
||||||
|
|
||||||
QSharedPointer<AvatarManager> avatarManager = DependencyManager::get<AvatarManager>();
|
QSharedPointer<AvatarManager> avatarManager = DependencyManager::get<AvatarManager>();
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -6325,19 +6338,6 @@ void Application::update(float deltaTime) {
|
||||||
updateLoginDialogPosition();
|
updateLoginDialogPosition();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: break these out into distinct perfTimers when they prove interesting
|
|
||||||
{
|
|
||||||
PROFILE_RANGE(app, "PickManager");
|
|
||||||
PerformanceTimer perfTimer("pickManager");
|
|
||||||
DependencyManager::get<PickManager>()->update();
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
PROFILE_RANGE(app, "PointerManager");
|
|
||||||
PerformanceTimer perfTimer("pointerManager");
|
|
||||||
DependencyManager::get<PointerManager>()->update();
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
{
|
||||||
PROFILE_RANGE_EX(app, "Overlays", 0xffff0000, (uint64_t)getActiveDisplayPlugin()->presentCount());
|
PROFILE_RANGE_EX(app, "Overlays", 0xffff0000, (uint64_t)getActiveDisplayPlugin()->presentCount());
|
||||||
PerformanceTimer perfTimer("overlays");
|
PerformanceTimer perfTimer("overlays");
|
||||||
|
|
Loading…
Reference in a new issue