Don't logspam if terrain library is not set

This commit is contained in:
Marc Gilleron 2019-04-25 00:58:23 +01:00
parent 9f0845759f
commit 101f83234a

View File

@ -517,6 +517,11 @@ static inline bool is_mesh_empty(Ref<Mesh> mesh_ref) {
void VoxelTerrain::_process() {
// TODO Should be able to run without library, tho!
if (_library.is_null()) {
return;
}
OS &os = *OS::get_singleton();
Engine &engine = *Engine::get_singleton();