BugFix source editor if playable

This commit is contained in:
Bruno Herbelin
2022-07-23 12:07:44 +02:00
parent 7a2f3fe840
commit ae5ae24f6f
2 changed files with 8 additions and 10 deletions

View File

@@ -1134,10 +1134,6 @@ void UserInterface::showSourceEditor(Source *s)
outputcontrol.setVisible(true);
return;
}
// CloneSource *cs = dynamic_cast<CloneSource *>(s);
// if (cs != nullptr) {
// shadercontrol.setVisible( cs );
// }
if (s->playable()) {
sourcecontrol.setVisible(true);
sourcecontrol.resetActiveSelection();