Revert "Fix another static variable instance"
This reverts commit5bd3a9cca8
. Reverted in favor of cherry-picking the more complete fix from8218f9ab44
This commit is contained in:
parent
5bd3a9cca8
commit
611311697e
|
@ -974,7 +974,8 @@ void ZONE::HatchBorder()
|
|||
#define MAXPTS 200 // Usually we store only few values per one hatch line
|
||||
// depending on the complexity of the zone outline
|
||||
|
||||
std::vector<VECTOR2I> pointbuffer;
|
||||
static std::vector<VECTOR2I> pointbuffer;
|
||||
pointbuffer.clear();
|
||||
pointbuffer.reserve( MAXPTS + 2 );
|
||||
|
||||
for( int a = min_a; a < max_a; a += spacing )
|
||||
|
|
Loading…
Reference in New Issue