mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-11 19:16:16 -04:00
UI: Move projector rename signal
This moves the renaming of projectors from OBSBasic to OBSProjector.
This commit is contained in:
@@ -3344,11 +3344,6 @@ void OBSBasic::RenameSources(OBSSource source, QString newName,
|
||||
volumes[i]->SetName(newName);
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < projectors.size(); i++) {
|
||||
if (projectors[i]->GetSource() == source)
|
||||
projectors[i]->RenameProjector(prevName, newName);
|
||||
}
|
||||
|
||||
if (vcamConfig.type == VCamOutputType::SourceOutput &&
|
||||
prevName == QString::fromStdString(vcamConfig.source))
|
||||
vcamConfig.source = newName.toStdString();
|
||||
|
||||
Reference in New Issue
Block a user