mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Merge pull request #13530 from samcake/punk
Really add safe check for targetDisplayPLugin
This commit is contained in:
commit
61005d456b
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