Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Recompute ref image when dragging to fill

Abel You77b6d3a1935a
diff --git a/toonz/sources/tnztools/filltool.cpp b/toonz/sources/tnztools/filltool.cpp
index bf1790240..88e7940b6 100644
--- a/toonz/sources/tnztools/filltool.cpp
+++ b/toonz/sources/tnztools/filltool.cpp
@@ -2302,6 +2302,7 @@ void FillTool::leftButtonDrag(const TPointD &pos, const TMouseEvent &e) {
invalidate();
return;
}
+ computeRefImgsIfNeeded(params);
std::string imgId =
m_application ? m_level.getPointer()->getImageId(getCurrentFid(), 0)
: "";