diff options
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 607d0ab6a..bd72632b2 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -205,14 +205,16 @@ sp_selected_path_break_apart(SPDesktop *desktop) SPItem *item = (SPItem *) items->data; - if (!SP_IS_PATH(item)) + if (!SP_IS_PATH(item)) { continue; + } SPPath *path = SP_PATH(item); - SPCurve *curve = sp_path_get_curve_for_edit(SP_PATH(path)); - if (curve == NULL) + SPCurve *curve = sp_path_get_curve_for_edit(path); + if (curve == NULL) { continue; + } did = true; @@ -225,7 +227,7 @@ sp_selected_path_break_apart(SPDesktop *desktop) // XML Tree being used directly here while it shouldn't be... gchar *path_effect = g_strdup(item->getRepr()->attribute("inkscape:path-effect")); - Geom::PathVector apv = curve->get_pathvector() * SP_ITEM(path)->transform; + Geom::PathVector apv = curve->get_pathvector() * path->transform; curve->unref(); |
