Skip to content

Commit

Permalink
Remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Nov 21, 2024
1 parent 2643e39 commit 055281d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/zylann.hterrain/hterrain_data.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1423,8 +1423,7 @@ func _load_map(dir: String, map_type: int, index: int, resource_loader_cache_mod
func _ensure_map_format(im: Image, map_type: int, index: int) -> Image:
var format := im.get_format()
var expected_format : int = _map_types[map_type].texture_format
print("map type ", map_type, " index ", index, " loaded as format ", format,
", expecting ", expected_format)

if format != expected_format:
_logger.warn("Map {0} loaded as format {1}, expected {2}. Will be converted." \
.format([get_map_debug_name(map_type, index), format, expected_format]))
Expand Down

0 comments on commit 055281d

Please sign in to comment.