Skip to content

Commit 8c1291f

Browse files
committed
#assistants: fix brush smooth option
1 parent 822cc10 commit 8c1291f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

toonz/sources/tnztools/toonzrasterbrushtool.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ void ToonzRasterBrushTool::leftButtonDown(const TPointD &pos,
11351135
m_tileSaver->save(m_rasterTrack->getLastRect());
11361136
m_rasterTrack->generateLastPieceOfStroke(m_pencil.getValue());
11371137

1138-
m_smoothStroke.beginStroke(4*m_smooth.getValue());
1138+
m_smoothStroke.beginStroke(m_smooth.getValue());
11391139
m_smoothStroke.points().clear();
11401140
m_smoothStroke.addPoint(thickPoint);
11411141
} else {
@@ -1155,7 +1155,7 @@ void ToonzRasterBrushTool::leftButtonDown(const TPointD &pos,
11551155
m_styleId, drawOrder);
11561156
m_lastRect = m_strokeRect;
11571157

1158-
m_smoothStroke.beginStroke(4*m_smooth.getValue());
1158+
m_smoothStroke.beginStroke(m_smooth.getValue());
11591159
m_smoothStroke.points().clear();
11601160
m_smoothStroke.addPoint(point);
11611161
}

toonz/sources/tnztools/toonzvectorbrushtool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ void ToonzVectorBrushTool::leftButtonDown(const TPointD &pos,
728728
if (m_pressure.getValue() && e.m_pressure == 1.0)
729729
thickness = m_thickness.getValue().first * 0.5;
730730
m_currThickness = thickness;
731-
m_smoothStroke.beginStroke(4*m_smooth.getValue());
731+
m_smoothStroke.beginStroke(m_smooth.getValue());
732732

733733
if (m_foundFirstSnap) {
734734
addTrackPoint(TThickPoint(m_firstSnapPoint, thickness),

0 commit comments

Comments
 (0)