# HG changeset patch # User Teemu Piippo # Date 1405821711 -10800 # Node ID e4ad109f33c66615a0f9e4e8493c94a774b505bc # Parent fec7023e91a799de7d760bd52843e3f2ea576f93 - use the untransformed subfile when testing whether a subfile is flat, otherwise it won't be considered flat if the subfile is rotated. or worse... diff -r fec7023e91a7 -r e4ad109f33c6 src/ldObject.cc --- a/src/ldObject.cc Wed Jul 16 18:57:48 2014 +0300 +++ b/src/ldObject.cc Sun Jul 20 05:01:51 2014 +0300 @@ -664,7 +664,7 @@ // Check whether subfile is flat int axisSet = (1 << X) | (1 << Y) | (1 << Z); - LDObjectList objs = inlineContents (true, false); + LDObjectList objs = fileInfo()->inlineContents (true, false); for (LDObjectPtr obj : objs) {