summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2023-01-27 13:34:57 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2023-01-27 13:34:57 +0100
commit0d06ebff2ff715a3d7c7031f73e77dc2f8819076 (patch)
treeb86f79eb15e4c518b0343330109452f2445bed1b
parent4368191a9f9c6290805dd4094c36379776128338 (diff)
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 b5a68ef14b..a9d70f1ec8 100644
--- a/scene/resources/tile_set.cpp
+++ b/scene/resources/tile_set.cpp
@@ -2608,6 +2608,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());