Fix normal compile.

This commit is contained in:
Relintai 2020-04-06 23:08:35 +02:00
parent a4fc573f85
commit 40535bfb59

View File

@ -272,12 +272,6 @@ void VoxelmanLibraryMerger::refresh_rects() {
surface->set_region(static_cast<VoxelSurface::VoxelSurfaceSides>(j), _packer->get_texture(tex)); surface->set_region(static_cast<VoxelSurface::VoxelSurfaceSides>(j), _packer->get_texture(tex));
} }
} }
Ref<GroundClutter> gc = surface->get_clutter();
if (gc.is_valid()) {
gc->add_textures_to(_packer);
}
} }
} }