Skip to content

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

C

Fix onion skin not updating for area filler

Abel You1ea7c5a8215e
diff --git a/toonz/sources/tnztools/filltool.cpp b/toonz/sources/tnztools/filltool.cpp
index 74bd1b5ee..148f63fa4 100644
--- a/toonz/sources/tnztools/filltool.cpp
+++ b/toonz/sources/tnztools/filltool.cpp
@@ -2465,6 +2465,7 @@ bool FillTool::onPropertyChanged(std::string propertyName, bool addToUndo) {
else if (propertyName == m_onion.getName()) {
if (m_onion.getValue()) FillType = ::to_string(m_fillType.getValue());
FillOnion = (int)(m_onion.getValue());
+ rectPropChangedflag = true;
}
// Frame Range
else if (propertyName == m_frameRange.getName()) {
@@ -2549,7 +2550,7 @@ bool FillTool::onPropertyChanged(std::string propertyName, bool addToUndo) {
}
}
- /*--- fillType, frameRange, selective, colorTypeが変わったとき ---*/
+ /*--- fillType, frameRange, selective, onionSkin, colorTypeが変わったとき ---*/
if (rectPropChangedflag && m_fillType.getValue() != NORMALFILL) {
AreaFillTool::Type type;
if (m_fillType.getValue() == RECTFILL)