From 8a20ca0f3e489fc86fa4027628aac8813e5765ac Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 11 Jul 2020 01:00:25 +0200 Subject: [PATCH] Start mesh build job at the end of build in Skeleton. --- game/player/CharacterSkeletonGD.gd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/game/player/CharacterSkeletonGD.gd b/game/player/CharacterSkeletonGD.gd index 6bfc3b7a..ab0e199c 100644 --- a/game/player/CharacterSkeletonGD.gd +++ b/game/player/CharacterSkeletonGD.gd @@ -173,9 +173,11 @@ func build(): data.append(ddict) _mesh_job.data = data - ThreadPool.add_job(_mesh_job) - + finish_build_mesh() + + ThreadPool.add_job(_mesh_job) +# _mesh_job.execute() func setup_build_mesh() -> void: if mesh_instance != null: