mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 04:09:59 +01:00
Bugfix show editor of clone source
This commit is contained in:
@@ -1125,16 +1125,15 @@ void UserInterface::showSourceEditor(Source *s)
|
|||||||
|
|
||||||
if (s) {
|
if (s) {
|
||||||
Mixer::manager().setCurrentSource( s );
|
Mixer::manager().setCurrentSource( s );
|
||||||
CloneSource *cs = dynamic_cast<CloneSource *>(s);
|
|
||||||
if (cs != nullptr) {
|
|
||||||
shadercontrol.refresh( cs );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
RenderSource *rs = dynamic_cast<RenderSource *>(s);
|
RenderSource *rs = dynamic_cast<RenderSource *>(s);
|
||||||
if (rs != nullptr) {
|
if (rs != nullptr) {
|
||||||
outputcontrol.setVisible(true);
|
outputcontrol.setVisible(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
CloneSource *cs = dynamic_cast<CloneSource *>(s);
|
||||||
|
if (cs != nullptr) {
|
||||||
|
shadercontrol.refresh( cs );
|
||||||
|
}
|
||||||
if (s->playable()) {
|
if (s->playable()) {
|
||||||
sourcecontrol.setVisible(true);
|
sourcecontrol.setVisible(true);
|
||||||
sourcecontrol.resetActiveSelection();
|
sourcecontrol.resetActiveSelection();
|
||||||
|
|||||||
Reference in New Issue
Block a user