Code

Only create the faces of a 3D box when needed (use pointers to refer to them).
[inkscape.git] / src / box3d.h
index 33284810392fcf0d525746d4e40bdd1fbcab30dd..982596d8f20b43771f895208f5a0a3da76d93a3b 100644 (file)
@@ -34,7 +34,7 @@
 
 
 struct SP3DBox : public SPGroup {
-    Box3DFace faces[6];
+    Box3DFace *faces[6];
 };
 
 struct SP3DBoxClass {