diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-01-08 16:43:47 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-01-08 16:43:47 +0700 |
commit | 3c6dfbfea5ee328f290dee851eece0ed40f7e8df (patch) | |
tree | fe3f3d2919049994d97c86ef6a548477f623501e /editor/import | |
parent | 57efe0bea5e60eb1849c9e42c89205996df819d5 (diff) |
Fix imported BitMap dimension flip
Diffstat (limited to 'editor/import')
-rw-r--r-- | editor/import/resource_importer_bitmask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_bitmask.cpp b/editor/import/resource_importer_bitmask.cpp index 3d2959c598..a5d3959952 100644 --- a/editor/import/resource_importer_bitmask.cpp +++ b/editor/import/resource_importer_bitmask.cpp @@ -77,7 +77,7 @@ Error ResourceImporterBitMap::import(const String &p_source_file, const String & bit = c.a > threshold; } - bitmap->set_bit(Vector2(i, j), bit); + bitmap->set_bit(Vector2(j, i), bit); } } |