You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
@@ -196,16 +196,14 @@ bool GridMap::get_collision_layer_bit(int p_bit) const {
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
void GridMap::set_theme(const Ref<MeshLibrary> &p_theme) {
|
||||
|
||||
ERR_EXPLAIN("GridMap.theme/set_theme() is deprecated and will be removed in a future version. Use GridMap.mesh_library/set_mesh_library() instead.");
|
||||
WARN_DEPRECATED;
|
||||
WARN_DEPRECATED_MSG("GridMap.theme/set_theme() is deprecated and will be removed in a future version. Use GridMap.mesh_library/set_mesh_library() instead.");
|
||||
|
||||
set_mesh_library(p_theme);
|
||||
}
|
||||
|
||||
Ref<MeshLibrary> GridMap::get_theme() const {
|
||||
|
||||
ERR_EXPLAIN("GridMap.theme/get_theme() is deprecated and will be removed in a future version. Use GridMap.mesh_library/get_mesh_library() instead.");
|
||||
WARN_DEPRECATED;
|
||||
WARN_DEPRECATED_MSG("GridMap.theme/get_theme() is deprecated and will be removed in a future version. Use GridMap.mesh_library/get_mesh_library() instead.");
|
||||
|
||||
return get_mesh_library();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user