Merge pull request #15483 from Noshyaar/pbm

Fix imported BitMap dimension flip
This commit is contained in:
Rémi Verschelde 2018-01-08 11:05:00 +01:00 committed by GitHub
commit 11cc703810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}