mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 11:19: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());
|
FrameBufferImage *img = new FrameBufferImage(maskdialog.path());
|
||||||
if (edit_source_->maskbuffer_->fill( img )) {
|
if (edit_source_->maskbuffer_->fill( img )) {
|
||||||
|
// apply mask filled
|
||||||
|
edit_source_->storeMask();
|
||||||
|
// store history
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << edit_source_->name();
|
oss << edit_source_->name() << ": Mask fill with " << maskdialog.path();
|
||||||
oss << ": Mask fill with " << maskdialog.path();
|
|
||||||
Action::manager().store(oss.str());
|
Action::manager().store(oss.str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user