Bläddra i källkod

Merge pull request #72173 from groud/warn_autotile_conversion

Warn that autotiles from 3.x cannot be converted automatically to 4.x
Rémi Verschelde 2 år sedan
förälder
incheckning
8a1369192e
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      scene/resources/tile_set.cpp

+ 1 - 0
scene/resources/tile_set.cpp

@@ -2630,6 +2630,7 @@ void TileSet::_compatibility_conversion() {
 			} break;
 			case COMPATIBILITY_TILE_MODE_AUTO_TILE: {
 				// Not supported. It would need manual conversion.
+				WARN_PRINT_ONCE("Could not convert 3.x autotiles to 4.x. This operation cannot be done automatically, autotiles must be re-created using the terrain system.");
 			} break;
 			case COMPATIBILITY_TILE_MODE_ATLAS_TILE: {
 				atlas_source->set_margins(ctd->region.get_position());