From 42f64f5bcfaf8f889676b6fa6e8dd0c61ba31755 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 17 May 2021 14:23:08 +0200 Subject: [PATCH] REVERT gen_sample_list for non-hybrid --- nonisotropic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nonisotropic.cpp b/nonisotropic.cpp index 477522a2..3d12c23d 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -1444,6 +1444,7 @@ EX namespace hybrid { }); EX vector> gen_sample_list() { + if(!hybri && WDIM != 2) return {make_pair(0, centerover), make_pair(centerover->type, nullptr)}; vector> result; for(auto& v: cgi.walloffsets) if(v.first >= 0) result.push_back(v); sort(result.begin(), result.end());