Don't stop threads when the terrain exits the tree, it prevents saving-on-destroy from completing
parent
3074f8228d
commit
9ca40b854b
|
@ -408,8 +408,6 @@ void VoxelLodTerrain::_notification(int p_what) {
|
|||
break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE:
|
||||
stop_updater();
|
||||
stop_streamer();
|
||||
break;
|
||||
|
||||
case NOTIFICATION_ENTER_WORLD: {
|
||||
|
|
|
@ -661,8 +661,6 @@ void VoxelTerrain::_notification(int p_what) {
|
|||
break;
|
||||
|
||||
case NOTIFICATION_EXIT_TREE:
|
||||
stop_updater();
|
||||
stop_streamer();
|
||||
break;
|
||||
|
||||
case NOTIFICATION_ENTER_WORLD: {
|
||||
|
|
Loading…
Reference in New Issue