[buffer] don't check neighbor for on-border

This commit is contained in:
Barend Gehrels
2014-08-09 23:18:48 +02:00
parent 536f6a6974
commit bdcdb5717e

View File

@@ -167,9 +167,13 @@ public:
{
return;
}
if (geometry_code == 0 && neighbour)
{
return;
}
Turn& mutable_turn = m_turns[turn.turn_index];
if (geometry_code == 0 && ! neighbour)
if (geometry_code)
{
// If it is on the border and they are neighbours, it should be
// on the offsetted ring