Code

enable LPEs for 3D boxes
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 13 Mar 2008 09:13:44 +0000 (09:13 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 13 Mar 2008 09:13:44 +0000 (09:13 +0000)
src/box3d-side.cpp

index e3d661e1823a7d39cf2b7ce7652fa920c7ba5504..c20b7a8646f2172603aba0cb15463a2daa6771c6 100644 (file)
@@ -237,6 +237,7 @@ box3d_side_set_shape (SPShape *shape)
     sp_curve_lineto (c, persp->tmat.image(corners[3]).affine() * i2d);
 
     sp_curve_closepath (c);
+    sp_shape_perform_path_effect(c, SP_SHAPE (side));
     sp_shape_set_curve_insync (SP_SHAPE (side), c, TRUE);
     sp_curve_unref (c);
 }