OpenToonz - An open-source full-featured 2D animation creation software
C
Fix: Wrong Index identify of Finger Tool Style Picker
Abel You4158bc70e1de
diff --git a/toonz/sources/tnztools/fingertool.cpp b/toonz/sources/tnztools/fingertool.cppindex 557ed46e8..fa6d625c3 100644--- a/toonz/sources/tnztools/fingertool.cpp+++ b/toonz/sources/tnztools/fingertool.cpp@@ -603,7 +603,7 @@ void FingerTool::pick(const TPointD &pos) {if (styleId < 0) return;- if (modeValue == 0) // LINES+ if (modeValue == 1) // LINES{// pickLineモードのとき、取得Styleが0の場合はカレントStyleを変えない。if (styleId == 0) return;diff --git a/toonz/sources/toonzlib/rasterstrokegenerator.cpp b/toonz/sources/toonzlib/rasterstrokegenerator.cppindex fbcf21d8e..c129e533b 100644--- a/toonz/sources/toonzlib/rasterstrokegenerator.cpp+++ b/toonz/sources/toonzlib/rasterstrokegenerator.cpp@@ -316,7 +316,7 @@ void RasterStrokeGenerator::placeOver(const TRasterCM32P &out,if (m_colorType == INK)*outPix = TPixelCM32(inkId, outPix->getPaint(), minTone);- if (m_colorType == PAINT)+ else if (m_colorType == PAINT)*outPix = TPixelCM32(inkId, inPix->getInk(), minTone);}/*--- When Invert is ON: Operation to trim protrusion ---*/