mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in rest of 'modules/'
This commit is contained in:
parent
3418f76a9e
commit
8aeade74db
29 changed files with 72 additions and 169 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue