Merge pull request #1239 from manongjohn/fix_drag_refer_flood_fill
Fix dragging on Smart Raster reference fill
This commit is contained in:
commit
fb4d9102f0
|
@ -2616,10 +2616,11 @@ void FillTool::leftButtonDrag(const TPointD &pos, const TMouseEvent &e) {
|
|||
closeStyleIndex =
|
||||
TTool::getApplication()->getCurrentPalette()->getStyleIndex();
|
||||
}
|
||||
TTool::Application *app = TTool::getApplication();
|
||||
applyFill(img, pos, params, e.isShiftPressed(), m_level.getPointer(),
|
||||
getCurrentFid(), m_autopaintLines.getValue(),
|
||||
m_closeRasterGaps.getIndex() > 0, m_closeRasterGaps.getIndex() > 1,
|
||||
closeStyleIndex);
|
||||
m_closeRasterGaps.getIndex() > 0, m_closeRasterGaps.getIndex() > 1, closeStyleIndex,
|
||||
app->getCurrentFrame()->getFrameIndex());
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue