diff --git a/toonz/sources/tnztools/toonzrasterbrushtool.cpp b/toonz/sources/tnztools/toonzrasterbrushtool.cpp index 4066340..c432f36 100644 --- a/toonz/sources/tnztools/toonzrasterbrushtool.cpp +++ b/toonz/sources/tnztools/toonzrasterbrushtool.cpp @@ -1019,6 +1019,7 @@ void ToonzRasterBrushTool::drawEmptyCircle(TPointD pos, int thick, TPointD ToonzRasterBrushTool::getCenteredCursorPos( const TPointD &originalCursorPos) { + if (m_isMyPaintStyleSelected) return originalCursorPos; TXshLevelHandle *levelHandle = m_application->getCurrentLevel(); TXshSimpleLevel *level = levelHandle ? levelHandle->getSimpleLevel() : 0; TDimension resolution = diff --git a/toonz/sources/tnztools/toonzrasterbrushtool.h b/toonz/sources/tnztools/toonzrasterbrushtool.h index 9b58297..c524ad6 100644 --- a/toonz/sources/tnztools/toonzrasterbrushtool.h +++ b/toonz/sources/tnztools/toonzrasterbrushtool.h @@ -227,7 +227,7 @@ protected: static void drawEmptyCircle(TPointD point, int thick, bool isLxEven, bool isLyEven, bool isPencil); - static TPointD getCenteredCursorPos(const TPointD &originalCursorPos); + TPointD getCenteredCursorPos(const TPointD &originalCursorPos); }; //------------------------------------------------------------