From 73fde8beb7dafc8f246827120c03e8312b423ed6 Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Mon, 25 Aug 2025 20:34:02 +0300 Subject: [PATCH] Reverted simplifying brush strokes, since it decreases performance while drawing the stroke --- src/DrawComponents/DrawBrushStroke.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/DrawComponents/DrawBrushStroke.cpp b/src/DrawComponents/DrawBrushStroke.cpp index bc18d8f..99a95ff 100644 --- a/src/DrawComponents/DrawBrushStroke.cpp +++ b/src/DrawComponents/DrawBrushStroke.cpp @@ -212,12 +212,8 @@ void DrawBrushStroke::create_triangles(const std::functionaddPoly(topPoints.data(), topPoints.size(), false); return; } @@ -365,10 +361,7 @@ void DrawBrushStroke::create_triangles(const std::functionaddPoly(topPoints.data(), topPoints.size(), false); } }