From 18a0a4e19e624c8cc00e375b38195016b37d185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= Date: Tue, 26 Sep 2023 09:21:03 +0200 Subject: [PATCH] Fixed right-click erase to not clear the stamp --- src/tiled/stampbrush.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiled/stampbrush.cpp b/src/tiled/stampbrush.cpp index ccddf557df4..4db582c971c 100644 --- a/src/tiled/stampbrush.cpp +++ b/src/tiled/stampbrush.cpp @@ -334,7 +334,7 @@ void StampBrush::beginCapture() mBrushBehavior = Capture; mCaptureStampHelper.beginCapture(tilePosition()); - setStamp(TileStamp()); + updatePreview(); } void StampBrush::endCapture()