From edfd23365adf275287fcc33bf90a9d34cc62fadd Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 9 Feb 2022 10:20:43 +0100 Subject: [PATCH] Also mention 5 suggested material to VoxelLibrary::prop_material_lod_get's error message. --- library/voxel_library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/voxel_library.cpp b/library/voxel_library.cpp index 79d5e54..15ac0a9 100644 --- a/library/voxel_library.cpp +++ b/library/voxel_library.cpp @@ -225,7 +225,7 @@ Ref VoxelLibrary::prop_material_get(const int index) { } Ref VoxelLibrary::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 VoxelLibrary!"); + ERR_FAIL_COND_V_MSG(_prop_materials.size() == 0, Ref(), "Error! You should to add at least one prop material to VoxelLibrary! (By default it will use up to 5. See VoxelWorldDefault::_create_chunk().)"); if (index < 0) { return _prop_materials[0];