Don't stop threads when the terrain exits the tree, it prevents saving-on-destroy from completing

master
Marc Gilleron 2019-08-24 23:26:01 +01:00
parent 3074f8228d
commit 9ca40b854b
2 changed files with 0 additions and 4 deletions

View File

@ -408,8 +408,6 @@ void VoxelLodTerrain::_notification(int p_what) {
break;
case NOTIFICATION_EXIT_TREE:
stop_updater();
stop_streamer();
break;
case NOTIFICATION_ENTER_WORLD: {

View File

@ -661,8 +661,6 @@ void VoxelTerrain::_notification(int p_what) {
break;
case NOTIFICATION_EXIT_TREE:
stop_updater();
stop_streamer();
break;
case NOTIFICATION_ENTER_WORLD: {