- 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...

Sun, 20 Jul 2014 05:01:51 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 20 Jul 2014 05:01:51 +0300
changeset 846
e4ad109f33c6
parent 845
fec7023e91a7
child 847
274a7fac44fc

- 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...

src/ldObject.cc file | annotate | diff | comparison | revisions
--- 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)
 	{

mercurial