Don't include non-INVERTNEXT BFC statements in inlined objects.

Mon, 08 Apr 2013 14:57:25 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Mon, 08 Apr 2013 14:57:25 +0300
changeset 75
e95a00e34711
parent 74
1affec15e572
child 76
42284126072a

Don't include non-INVERTNEXT BFC statements in inlined objects.

ldtypes.cpp file | annotate | diff | comparison | revisions
--- a/ldtypes.cpp	Mon Apr 08 14:53:58 2013 +0300
+++ b/ldtypes.cpp	Mon Apr 08 14:57:25 2013 +0300
@@ -323,6 +323,13 @@
 			case OBJ_Unidentified:
 			case OBJ_Vertex:
 				continue;
+			
+			case OBJ_BFC:
+				// Filter non-INVERTNEXT statements
+				if (static_cast<LDBFC*> (obj)->dStatement != BFC_InvertNext)
+					continue;
+				break;
+			
 			default:
 				break;
 			}

mercurial