mirror of https://github.com/vitalif/openscad
Initialize FaceInfo properly. Caused problems with some compilers, e.g. on Ubuntu 12.04
parent
f4278926f8
commit
ce24e2e29b
|
@ -14,7 +14,7 @@ namespace Polygon2DCGAL {
|
|||
|
||||
struct FaceInfo
|
||||
{
|
||||
FaceInfo() {}
|
||||
FaceInfo() : nesting_level(42) {}
|
||||
int nesting_level;
|
||||
bool in_domain() { return nesting_level%2 == 1; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue