Warn that autotiles from 3.x cannot be converted automatically to 4.x
This commit is contained in:
parent
4368191a9f
commit
0d06ebff2f
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue