From 456c0ae4354007ab8066b4857d0480e3f1c44fdb Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 13 Jul 2021 01:07:56 +0200 Subject: [PATCH] set walloffsets --- polygons.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polygons.cpp b/polygons.cpp index a5a73412..24e84339 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -922,6 +922,8 @@ void geometry_information::create_wall3d() { } else { + walloffsets.clear(); + walloffsets.emplace_back(0, nullptr); auto& faces = cgi.heptshape->faces; auto& we = cgi.heptshape->weights; if(we.empty()) {