mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-12 10:15:07 +01:00
Update for the newest voxelman.
This commit is contained in:
parent
c7a98e704d
commit
805928da18
@ -384,7 +384,7 @@ void Biome::_setup_library(Ref<VoxelmanLibrary> library) {
|
||||
Ref<VoxelSurface> s = get_voxel_surface(i);
|
||||
|
||||
if (s.is_valid()) {
|
||||
library->add_voxel_surface(s);
|
||||
library->voxel_surface_add(s);
|
||||
}
|
||||
}
|
||||
|
||||
@ -404,7 +404,7 @@ void Biome::_setup_library(Ref<VoxelmanLibrary> library) {
|
||||
Ref<PackedScene> pd = s->get_prop();
|
||||
|
||||
if (pd.is_valid())
|
||||
library->add_prop(s->get_prop());
|
||||
library->prop_add(s->get_prop());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -799,7 +799,7 @@ void Dungeon::_setup_library(Ref<VoxelmanLibrary> library) {
|
||||
Ref<VoxelSurface> s = get_voxel_surface(i);
|
||||
|
||||
if (s.is_valid()) {
|
||||
library->add_voxel_surface(s);
|
||||
library->voxel_surface_add(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -413,7 +413,7 @@ void DungeonRoom::_setup_library(Ref<VoxelmanLibrary> library) {
|
||||
Ref<VoxelSurface> s = get_voxel_surface(i);
|
||||
|
||||
if (s.is_valid()) {
|
||||
library->add_voxel_surface(s);
|
||||
library->voxel_surface_add(s);
|
||||
}
|
||||
}
|
||||
|
||||
@ -425,7 +425,7 @@ void DungeonRoom::_setup_library(Ref<VoxelmanLibrary> library) {
|
||||
Ref<PackedScene> pd = s->get_prop();
|
||||
|
||||
if (pd.is_valid())
|
||||
library->add_prop(pd);
|
||||
library->prop_add(pd);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -315,7 +315,7 @@ void Planet::_setup_library(Ref<VoxelmanLibrary> library) {
|
||||
Ref<VoxelSurface> s = get_voxel_surface(i);
|
||||
|
||||
if (s.is_valid()) {
|
||||
library->add_voxel_surface(s);
|
||||
library->voxel_surface_add(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user