Browse Source

Fix imported BitMap dimension flip

Poommetee Ketson 7 years ago
parent
commit
3c6dfbfea5
1 changed files with 1 additions and 1 deletions
  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);
 		}
 		}
 	}
 	}