Gui: [skip ci] code clean-up

This commit is contained in:
wmayer
2021-11-02 16:06:21 +01:00
parent bec3c797a8
commit 60467908c8
5 changed files with 4 additions and 87 deletions

View File

@@ -303,10 +303,8 @@ SbBool OpenCascadeNavigationStyle::processSoEvent(const SoEvent * const ev)
// If not handled in this class, pass on upwards in the inheritance
// hierarchy.
if (/*(curmode == NavigationStyle::SELECTION || viewer->isEditing()) && */!processed)
if (!processed)
processed = inherited::processSoEvent(ev);
else
return true;
return processed;
}