Sentry: more breadcrumbs
This commit is contained in:
parent
d9b7435dab
commit
73b4c3839d
3 changed files with 14 additions and 0 deletions
|
@ -1225,6 +1225,7 @@ void fgStartReposition()
|
|||
master_freeze->setBoolValue(false);
|
||||
}
|
||||
fgSetBool("/sim/sceneryloaded",false);
|
||||
flightgear::addSentryBreadcrumb("end of reposition", "info");
|
||||
}
|
||||
|
||||
void fgStartNewReset()
|
||||
|
@ -1400,6 +1401,8 @@ void fgStartNewReset()
|
|||
fgSetBool("/sim/signals/reinit", false);
|
||||
fgSetBool("/sim/freeze/master", false);
|
||||
fgSetBool("/sim/sceneryloaded",false);
|
||||
|
||||
flightgear::addSentryBreadcrumb("end of reset", "info");
|
||||
}
|
||||
|
||||
void fgInitPackageRoot()
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
#include "renderer.hxx"
|
||||
#include "CameraGroup.hxx"
|
||||
#include "FGEventHandler.hxx"
|
||||
#include <Main/sentryIntegration.hxx>
|
||||
|
||||
#if defined(ENABLE_QQ_UI)
|
||||
#include <GUI/QQuickDrawable.hxx>
|
||||
|
@ -677,6 +678,10 @@ FGRenderer::update( ) {
|
|||
FGScenerySwitchCallback::scenery_enabled = (sAlpha<1.0);
|
||||
_splash_alpha->setDoubleValue((sAlpha < 0) ? 0.0 : sAlpha);
|
||||
|
||||
if (sAlpha <= 0.0) {
|
||||
flightgear::addSentryBreadcrumb("splash-screen fade out complete", "info");
|
||||
}
|
||||
|
||||
syncPausePopupState();
|
||||
fgSetBool("/sim/menubar/overlap-hide", false);
|
||||
}
|
||||
|
|
|
@ -107,6 +107,7 @@
|
|||
#include "renderer.hxx"
|
||||
#include "CameraGroup.hxx"
|
||||
#include "FGEventHandler.hxx"
|
||||
#include <Main/sentryIntegration.hxx>
|
||||
|
||||
#if defined(ENABLE_QQ_UI)
|
||||
#include <GUI/QQuickDrawable.hxx>
|
||||
|
@ -1607,6 +1608,11 @@ FGRenderer::update( ) {
|
|||
double sAlpha = _splash_alpha->getDoubleValue();
|
||||
sAlpha -= SGMiscd::max(0.0,delay_time/fade_time);
|
||||
FGScenerySwitchCallback::scenery_enabled = (sAlpha<1.0);
|
||||
|
||||
if (sAlpha <= 0.0) {
|
||||
flightgear::addSentryBreadcrumb("splash-screen fade out complete", "info");
|
||||
}
|
||||
|
||||
_splash_alpha->setDoubleValue((sAlpha < 0) ? 0.0 : sAlpha);
|
||||
|
||||
syncPausePopupState();
|
||||
|
|
Loading…
Add table
Reference in a new issue