From dd2aa2b3030cfe32a13acab86701ced7f46dc405 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 2 Aug 2021 22:19:26 +0200 Subject: [PATCH] Fixed broken set_library call. --- library/terraman_library_merger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/terraman_library_merger.cpp b/library/terraman_library_merger.cpp index b39c58f..4ae11fe 100644 --- a/library/terraman_library_merger.cpp +++ b/library/terraman_library_merger.cpp @@ -144,7 +144,7 @@ void TerramanLibraryMerger::set_voxel_surfaces(const Vector &surfaces) Ref surface = Ref(surfaces[i]); if (surface.is_valid()) { - surface->set_library(this); + surface->set_library(Ref(this)); } _voxel_surfaces.push_back(surface);