diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-08 17:32:43 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-08 17:32:43 +0000 |
| commit | 43dc21b53e642208542398d7d257d0f9cb48582f (patch) | |
| tree | 75510653a1989316dad1df9b3d9bc9230264281c /src/path-chemistry.cpp | |
| parent | Fixed svg-path (and display/curve) tests to properly handle closepath and mad... (diff) | |
| download | inkscape-43dc21b53e642208542398d7d257d0f9cb48582f.tar.gz inkscape-43dc21b53e642208542398d7d257d0f9cb48582f.zip | |
remove many unnecessary to_2geom and from_2geom calls
(bzr r6593)
Diffstat (limited to 'src/path-chemistry.cpp')
| -rw-r--r-- | src/path-chemistry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp index 9dfa760ea..c4855e7d3 100644 --- a/src/path-chemistry.cpp +++ b/src/path-chemistry.cpp @@ -115,7 +115,7 @@ sp_selected_path_combine(void) //c->transform(item->transform); curve = c; } else { - c->transform(to_2geom(item->getRelativeTransform(SP_OBJECT(first)))); + c->transform(item->getRelativeTransform(SP_OBJECT(first))); curve->append(c, false); c->unref(); } @@ -221,7 +221,7 @@ sp_selected_path_break_apart(void) gchar *style = g_strdup(SP_OBJECT(item)->repr->attribute("style")); gchar *path_effect = g_strdup(SP_OBJECT(item)->repr->attribute("inkscape:path-effect")); - Geom::PathVector apv = curve->get_pathvector() * to_2geom(SP_ITEM(path)->transform); + Geom::PathVector apv = curve->get_pathvector() * SP_ITEM(path)->transform; curve->unref(); |
