From ecda65d37b45b587cf6a66b452ddfeb18a77874b Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 18 Apr 2022 23:41:49 +0200 Subject: [PATCH] Fix an another shadoved declaration. --- modules/paint/actions/bucket_action.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/paint/actions/bucket_action.cpp b/modules/paint/actions/bucket_action.cpp index 2fd7f315c..f76d5ea07 100644 --- a/modules/paint/actions/bucket_action.cpp +++ b/modules/paint/actions/bucket_action.cpp @@ -49,8 +49,6 @@ void BucketAction::do_action(PaintCanvas *canvas, const Array &data) { continue; } - Color col = canvas->get_pixel_v(pixel); - if (canvas->is_alpha_locked() && col.a < 0.00001) { continue; }