mirror of
https://github.com/Relintai/godot_voxel.git
synced 2024-11-19 02:47:18 +01:00
Don't logspam if terrain library is not set
This commit is contained in:
parent
9f0845759f
commit
101f83234a
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user