Ref T361, better guards for plugin and sGui

No need to create an assert if plugin is not avilable, though the plugin info should be "Unspecified" in that case
This commit is contained in:
Klaus Basan
2018-09-18 19:23:13 +02:00
parent 33a93bf0f4
commit ae60cf560d
4 changed files with 28 additions and 50 deletions

View File

@@ -103,6 +103,7 @@ namespace BlackGui
void CSettingsSimulatorComponent::setGuiValues()
{
if (!sGui || !sGui->getIContextSimulator() || sGui->isShuttingDown()) { return; }
const CInterpolationAndRenderingSetupGlobal setup = sGui->getIContextSimulator()->getInterpolationAndRenderingSetupGlobal();
// time sync