From b7e273b2267d65dad61d2b94a8864c9a470a4f65 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 31 May 2023 22:33:20 +0200 Subject: [PATCH] Bind missing enum constants. --- modules/terraman/world/jobs/terrain_job.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/terraman/world/jobs/terrain_job.cpp b/modules/terraman/world/jobs/terrain_job.cpp index 5a2ecfee6..eaff70252 100644 --- a/modules/terraman/world/jobs/terrain_job.cpp +++ b/modules/terraman/world/jobs/terrain_job.cpp @@ -336,4 +336,8 @@ void TerrainJob::_bind_methods() { ClassDB::bind_method(D_METHOD("generate_random_ao", "seed", "octaves", "period", "persistence", "scale_factor"), &TerrainJob::generate_random_ao, DEFVAL(4), DEFVAL(30), DEFVAL(0.3), DEFVAL(0.6)); ClassDB::bind_method(D_METHOD("chunk_exit_tree"), &TerrainJob::chunk_exit_tree); + + BIND_ENUM_CONSTANT(BUILD_PHASE_TYPE_NORMAL); + BIND_ENUM_CONSTANT(BUILD_PHASE_TYPE_PROCESS); + BIND_ENUM_CONSTANT(BUILD_PHASE_TYPE_PHYSICS_PROCESS); }