removed incorrect implementation of 2.5D in gen_sample_list()
This commit is contained in:
parent
891f163954
commit
7dfa614e6a
|
@ -1444,7 +1444,6 @@ EX namespace hybrid {
|
||||||
});
|
});
|
||||||
|
|
||||||
EX vector<pair<int, cell*>> gen_sample_list() {
|
EX vector<pair<int, cell*>> gen_sample_list() {
|
||||||
if(!hybri && WDIM != 2) return {make_pair(0, centerover), make_pair(centerover->type, nullptr)};
|
|
||||||
vector<pair<int, cell*>> result;
|
vector<pair<int, cell*>> result;
|
||||||
for(auto& v: cgi.walloffsets) if(v.first >= 0) result.push_back(v);
|
for(auto& v: cgi.walloffsets) if(v.first >= 0) result.push_back(v);
|
||||||
sort(result.begin(), result.end());
|
sort(result.begin(), result.end());
|
||||||
|
|
Loading…
Reference in New Issue