瀏覽代碼

Merge pull request #15483 from Noshyaar/pbm

Fix imported BitMap dimension flip
Rémi Verschelde 7 年之前
父節點
當前提交
11cc703810
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/import/resource_importer_bitmask.cpp

+ 1 - 1
editor/import/resource_importer_bitmask.cpp

@@ -77,7 +77,7 @@ Error ResourceImporterBitMap::import(const String &p_source_file, const String &
 				bit = c.a > threshold;
 				bit = c.a > threshold;
 			}
 			}
 
 
-			bitmap->set_bit(Vector2(i, j), bit);
+			bitmap->set_bit(Vector2(j, i), bit);
 		}
 		}
 	}
 	}