mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51: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 =
|
auto fragment =
|
||||||
VoxelFragment::create(*level, pointA, pointB, crop, saveEntities);
|
VoxelFragment::create(*level, pointA, pointB, crop, saveEntities);
|
||||||
|
fragment->prepare(*content);
|
||||||
std::array<std::shared_ptr<VoxelFragment>, 4> fragmentVariants {
|
std::array<std::shared_ptr<VoxelFragment>, 4> fragmentVariants {
|
||||||
std::move(fragment)
|
std::move(fragment)
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue