summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2022-09-01 18:39:17 +0200
committerHendrik Brucker <hendrik.brucker@mail.de>2022-09-01 18:39:17 +0200
commitea0472fecfb7c8fea06abcc9ad6b849c9b20f8df (patch)
tree1e328f0be80ac4b2ac57f22c1f982ec98bf2da9e /editor/import
parentf02134a8c0452a2c9fb60f9d0260e5f1ee3e252d (diff)
Refactor BitMap and add tests
Co-authored-by: Resul Çelik <resul_celik@hotmail.com>
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/resource_importer_bitmask.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}