mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 11:19:58 +01:00
oops
This commit is contained in:
@@ -661,7 +661,7 @@ void Mixer::renameSource(Source *s, const std::string &newname)
|
|||||||
std::list<std::string> others = session_->getNameList();
|
std::list<std::string> others = session_->getNameList();
|
||||||
others.remove(tentativename);
|
others.remove(tentativename);
|
||||||
|
|
||||||
// refuse to rename to an empty name
|
// try the given new name if valid
|
||||||
if ( !newname.empty() )
|
if ( !newname.empty() )
|
||||||
tentativename = newname;
|
tentativename = newname;
|
||||||
|
|
||||||
|
|||||||
@@ -764,11 +764,8 @@ void Source::setMask(FrameBufferImage *img)
|
|||||||
// ask to update the source
|
// ask to update the source
|
||||||
touch();
|
touch();
|
||||||
}
|
}
|
||||||
else {
|
else
|
||||||
// CANCEL mask if set to null
|
|
||||||
mask_need_update_ = false;
|
mask_need_update_ = false;
|
||||||
maskshader_->mode = MaskShader::NONE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Source::hasNode::operator()(const Source* elem) const
|
bool Source::hasNode::operator()(const Source* elem) const
|
||||||
|
|||||||
Reference in New Issue
Block a user