closes #1
refs !1 *changed the static variables to be common variables. If one opens a lot of files, using thread local could be an alternative as long as the compiler supports it.
This commit is contained in:
@@ -249,8 +249,8 @@ read_stla(std::istream& _in, BaseImporter& _bi, Options& _opt) const
|
||||
|
||||
std::string line;
|
||||
|
||||
static std::string garbage;
|
||||
static std::stringstream strstream;
|
||||
std::string garbage;
|
||||
std::stringstream strstream;
|
||||
|
||||
bool facet_normal(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user