From 0bb45020b2a8fdcc308fae90e188b0cf6b320efc Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 9 Feb 2022 10:18:52 +0100 Subject: [PATCH] Also mention 5 suggested material to TerrainLibrary::prop_material_lod_get's error message. --- library/terrain_library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/terrain_library.cpp b/library/terrain_library.cpp index 9188b71..dd9c988 100644 --- a/library/terrain_library.cpp +++ b/library/terrain_library.cpp @@ -327,7 +327,7 @@ Ref TerrainLibrary::prop_material_get(const int index) { } Ref TerrainLibrary::prop_material_lod_get(const int index) { - ERR_FAIL_COND_V_MSG(_prop_materials.size() == 0, Ref(), "Error! You should to add at least one material to TerrainLibrary!"); + ERR_FAIL_COND_V_MSG(_prop_materials.size() == 0, Ref(), "Error! You should to add at least one prop material to TerrainLibrary! (By default it will use up to 5. See VoxelWorldDefault::_create_chunk().)"); if (index < 0) { return _prop_materials[0];