Ver código fonte

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

Gilles Roudière 2 anos atrás
pai
commit
0d06ebff2f
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      scene/resources/tile_set.cpp

+ 1 - 0
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());