summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-27 15:41:52 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-27 15:41:52 +0100
commit8a1369192ea1c3a82ac50b0b878a99d29f2c1282 (patch)
tree9e16ee38e76962a02cf82798b8c2ee88033079cb
parent2b55ac445bafb311d866c627a823d64908e92018 (diff)
parent0d06ebff2ff715a3d7c7031f73e77dc2f8819076 (diff)
Merge pull request #72173 from groud/warn_autotile_conversion
Warn that autotiles from 3.x cannot be converted automatically to 4.x
-rw-r--r--scene/resources/tile_set.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp
index 12107dade5..56efee5ca6 100644
--- a/scene/resources/tile_set.cpp
+++ b/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());