mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 22:51:20 +02:00
Really add safe check for targetDisplayPLugin
This commit is contained in:
parent
3f975cfa84
commit
96b26c94eb
1 changed files with 1 additions and 1 deletions
|
@ -2722,7 +2722,7 @@ void Application::initializeDisplayPlugins() {
|
||||||
setDisplayPlugin(defaultDisplayPlugin);
|
setDisplayPlugin(defaultDisplayPlugin);
|
||||||
|
|
||||||
// Now set the desired plugin if it's not the same as the default plugin
|
// Now set the desired plugin if it's not the same as the default plugin
|
||||||
if (!targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) {
|
if (targetDisplayPlugin && (targetDisplayPlugin != defaultDisplayPlugin)) {
|
||||||
setDisplayPlugin(targetDisplayPlugin);
|
setDisplayPlugin(targetDisplayPlugin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue