mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34: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();
|
||||
others.remove(tentativename);
|
||||
|
||||
// refuse to rename to an empty name
|
||||
// try the given new name if valid
|
||||
if ( !newname.empty() )
|
||||
tentativename = newname;
|
||||
|
||||
|
||||
@@ -764,11 +764,8 @@ void Source::setMask(FrameBufferImage *img)
|
||||
// ask to update the source
|
||||
touch();
|
||||
}
|
||||
else {
|
||||
// CANCEL mask if set to null
|
||||
else
|
||||
mask_need_update_ = false;
|
||||
maskshader_->mode = MaskShader::NONE;
|
||||
}
|
||||
}
|
||||
|
||||
bool Source::hasNode::operator()(const Source* elem) const
|
||||
|
||||
Reference in New Issue
Block a user