src/gldraw.cpp

changeset 268
778eed342ee4
parent 266
12e7302f14e9
child 270
f5f2353af0d9
--- a/src/gldraw.cpp	Sat Jun 01 20:31:33 2013 +0300
+++ b/src/gldraw.cpp	Sat Jun 01 21:36:03 2013 +0300
@@ -746,7 +746,7 @@
 			
 			bool oldinvert = g_glInvert;
 			
-			if (ref->transform.determinant () < 0)
+			if (ref->transform ().determinant () < 0)
 				g_glInvert = !g_glInvert;
 			
 			LDObject* prev = ref->prev ();
@@ -768,7 +768,7 @@
 			vector<LDObject*> objs = rad->decompose (true);
 			
 			bool oldinvert = g_glInvert;
-			if (rad->transform.determinant () < 0)
+			if (rad->transform ().determinant () < 0)
 				g_glInvert = !g_glInvert;
 			
 			LDObject* prev = rad->prev ();

mercurial