summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-08 11:05:00 +0100
committerGitHub <noreply@github.com>2018-01-08 11:05:00 +0100
commit11cc70381055d0b1a37bf4f62c9931bd8ce179b7 (patch)
treef52abc8ba39ca3fa0b12ee74723a11cdfd611ee1 /editor/import
parent8f814e44bc325970dc4ffcd3588b76369fb7ec07 (diff)
parent3c6dfbfea5ee328f290dee851eece0ed40f7e8df (diff)
Merge pull request #15483 from Noshyaar/pbm
Fix imported BitMap dimension flip
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 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);
}
}