OpenToonz - An open-source full-featured 2D animation creation software
C
Merge pull request #5838 from Abel032/Fix-geoArc-thick
Rodney94f3be869b4e
diff --cc toonz/sources/tnztools/toonzrasterbrushtool.cppindex 2f9727c69,3c1582a75..c77dbe183--- a/toonz/sources/tnztools/toonzrasterbrushtool.cpp+++ b/toonz/sources/tnztools/toonzrasterbrushtool.cpp@@@ -1336,17 -1326,17 +1337,17 @@@ void ToonzRasterBrushTool::inputPaintTrTRect updateRect = m_painting.myPaint.strokeSegmentRect * ras->getBounds();m_painting.affectedRect += updateRect;if (!updateRect.isEmpty())- handler->brush.updateDrawing( ras, m_backupRas, m_painting.myPaint.strokeSegmentRect,- m_painting.styleId, m_modifierLockAlpha.getValue() );-+ handler->brush.updateDrawing(+ ras, m_backupRas, m_painting.myPaint.strokeSegmentRect,+ m_painting.styleId, m_modifierLockAlpha.getValue());+// determine invalidate rectinvalidateRect += convert(m_painting.myPaint.strokeSegmentRect) - rasCenter;- } else- if (m_painting.pencil.isActive) {+ } else if (m_painting.pencil.isActive) {// pencil case-+// Pencilモードでなく、Hardness=100 の場合のブラシサイズを1段階下げる- double thickness = computeThickness(pressure, m_rasThickness)*2;+ double thickness = computeThickness(pressure, m_rasThickness);//if (!m_painting.pencil.realPencil && !m_modifierLine->getManager())// thickness -= 1.0;TThickPoint thickPoint(fixedPosition + rasCenter, thickness);diff --cc toonz/sources/tnztools/toonzvectorbrushtool.hindex 4ddfb53d6,4202b3bef..b4bb8ea32--- a/toonz/sources/tnztools/toonzvectorbrushtool.h+++ b/toonz/sources/tnztools/toonzvectorbrushtool.h@@@ -229,9 -229,11 +229,10 @@@ protectedVectorBrushPresetManagerm_presetsManager; //!< Manager for presets of this tool instance- bool m_active, m_firstTime, m_isPath,- m_presetsLoaded, m_firstFrameRange;+ bool m_active, m_firstTime, m_isPath, m_presetsLoaded, m_firstFrameRange;bool m_propertyUpdating;+ double m_cameraDpi;};#endif // TOONZVECTORBRUSHTOOL_H