From ea0472fecfb7c8fea06abcc9ad6b849c9b20f8df Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Thu, 1 Sep 2022 18:39:17 +0200 Subject: Refactor BitMap and add tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Resul Çelik --- editor/import/resource_importer_bitmask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/import') diff --git a/editor/import/resource_importer_bitmask.cpp b/editor/import/resource_importer_bitmask.cpp index c03962b8a4..577a4c32b3 100644 --- a/editor/import/resource_importer_bitmask.cpp +++ b/editor/import/resource_importer_bitmask.cpp @@ -99,7 +99,7 @@ Error ResourceImporterBitMap::import(const String &p_source_file, const String & bit = c.a > threshold; } - bitmap->set_bit(Vector2(j, i), bit); + bitmap->set_bit(j, i, bit); } } -- cgit v1.2.3