mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 19:07:51 +02:00
Remove unreachable code in PluginUtils
This commit is contained in:
parent
c995e51128
commit
8a4cfd4735
1 changed files with 0 additions and 2 deletions
|
@ -19,7 +19,6 @@ bool PluginUtils::isHMDAvailable(const QString& pluginName) {
|
|||
// Temporarily only enable this for Vive
|
||||
if (displayPlugin->isHmd() && (pluginName.isEmpty() || displayPlugin->getName() == pluginName)) {
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
@ -29,7 +28,6 @@ bool PluginUtils::isHandControllerAvailable() {
|
|||
for (auto& inputPlugin : PluginManager::getInstance()->getInputPlugins()) {
|
||||
if (inputPlugin->isHandController()) {
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue