Code

Stacked LPEs should now use the right bounding box
authorbgk <bgk@users.sourceforge.net>
Sat, 31 May 2008 10:38:48 +0000 (10:38 +0000)
committerbgk <bgk@users.sourceforge.net>
Sat, 31 May 2008 10:38:48 +0000 (10:38 +0000)
src/sp-lpe-item.cpp

index 12473f770d5848601e55cdf55d1ab7a2f37deb26..bf9828b15d4433752ef35d4bfeefb774ab745ca3 100644 (file)
@@ -302,6 +302,9 @@ sp_lpe_item_update_patheffect (SPLPEItem *lpeitem, bool wholetree, bool write)
     g_return_if_fail (lpeitem != NULL);
     g_return_if_fail (SP_IS_LPE_ITEM (lpeitem));
 
+    if (!sp_lpe_item_path_effects_enabled(lpeitem))
+        return;
+
     SPLPEItem *top;
 
     if (wholetree) {