Warn that autotiles from 3.x cannot be converted automatically to 4.x

This commit is contained in:
Gilles Roudière 2023-01-27 13:34:57 +01:00
parent 4368191a9f
commit 0d06ebff2f
1 changed files with 1 additions and 0 deletions

View File

@ -2608,6 +2608,7 @@ void TileSet::_compatibility_conversion() {
} break; } break;
case COMPATIBILITY_TILE_MODE_AUTO_TILE: { case COMPATIBILITY_TILE_MODE_AUTO_TILE: {
// Not supported. It would need manual conversion. // 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; } break;
case COMPATIBILITY_TILE_MODE_ATLAS_TILE: { case COMPATIBILITY_TILE_MODE_ATLAS_TILE: {
atlas_source->set_margins(ctd->region.get_position()); atlas_source->set_margins(ctd->region.get_position());