Also log rendering setup in crashinfo

This commit is contained in:
Klaus Basan
2019-04-22 19:00:44 +02:00
parent 22f140a494
commit 989c998e66

View File

@@ -854,6 +854,7 @@ namespace BlackCore
const bool r = setup.isRenderingRestricted();
const bool e = setup.isRenderingEnabled();
if (sApp && !sApp->isShuttingDown()) { sApp->crashAndLogAppendInfo(u"Rendering setup: " % setup.toQString(true)); }
emit this->renderRestrictionsChanged(r, e, setup.getMaxRenderedAircraft(), setup.getMaxRenderedDistance());
return true;
}