Skip to content

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

C

Avoid nagative double

Abel Youc94319de95f5
diff --git a/toonz/sources/tnztools/geometrictool.cpp b/toonz/sources/tnztools/geometrictool.cpp
index ae0f2dcdb..bcdb2a4eb 100644
--- a/toonz/sources/tnztools/geometrictool.cpp
+++ b/toonz/sources/tnztools/geometrictool.cpp
@@ -617,7 +617,7 @@ public:
(thick = 0 になる)
TODO: unify the unit of GeometricTool and RasterBrushTool
---*/
- if (m_param->m_pencil.getValue()) thick -= 1.0;
+ if (m_param->m_pencil.getValue()) thick -= 0.5;
return thick;
}
else