mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix generation.create_fragment (#596)
This commit is contained in:
parent
25f4c7fbdd
commit
8593250f65
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ static int l_create_fragment(lua::State* L) {
|
|||
|
||||
auto fragment =
|
||||
VoxelFragment::create(*level, pointA, pointB, crop, saveEntities);
|
||||
fragment->prepare(*content);
|
||||
std::array<std::shared_ptr<VoxelFragment>, 4> fragmentVariants {
|
||||
std::move(fragment)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue