mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Store mask after fill
This commit is contained in:
@@ -727,9 +727,11 @@ void TextureView::draw()
|
||||
{
|
||||
FrameBufferImage *img = new FrameBufferImage(maskdialog.path());
|
||||
if (edit_source_->maskbuffer_->fill( img )) {
|
||||
// apply mask filled
|
||||
edit_source_->storeMask();
|
||||
// store history
|
||||
std::ostringstream oss;
|
||||
oss << edit_source_->name();
|
||||
oss << ": Mask fill with " << maskdialog.path();
|
||||
oss << edit_source_->name() << ": Mask fill with " << maskdialog.path();
|
||||
Action::manager().store(oss.str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user