Code

fix bug #166937 (with viewBox, simplify oversimplifies)
authorspeleo3 <speleo3@users.sourceforge.net>
Fri, 19 Dec 2008 21:14:53 +0000 (21:14 +0000)
committerspeleo3 <speleo3@users.sourceforge.net>
Fri, 19 Dec 2008 21:14:53 +0000 (21:14 +0000)
src/splivarot.cpp

index 55d1146b1aef50ca3b98d7383bf553af4c5a7048..b41ad4b21b665506835625e39c45156ce8d6d0f3 100644 (file)
@@ -1516,6 +1516,9 @@ sp_selected_path_simplify_item(SPDesktop *desktop,
             return false;
     }
 
+    // correct virtual size by full transform (bug #166937)
+    size /= sp_item_i2doc_affine(item).descrim();
+
     // save the transform, to re-apply it after simplification
     NR::Matrix const transform(item->transform);