diff options
| author | MenTaLguY <mental@rydia.net> | 2006-05-01 04:48:44 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-05-01 04:48:44 +0000 |
| commit | e9ad5f1bc4b2ec0ba3d4d32f4fb0ce8be3cf025a (patch) | |
| tree | b16ded47aa6d6607821f91d3c1e8a837c4f4f1ba /src | |
| parent | use GC allocator for bitmap cache and transform (diff) | |
| download | inkscape-e9ad5f1bc4b2ec0ba3d4d32f4fb0ce8be3cf025a.tar.gz inkscape-e9ad5f1bc4b2ec0ba3d4d32f4fb0ce8be3cf025a.zip | |
NRMatrix copy constructor appears deficient; avoid it for now
(bzr r646)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/nr-arena-item.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/display/nr-arena-item.cpp b/src/display/nr-arena-item.cpp index 714359dfd..97c769548 100644 --- a/src/display/nr-arena-item.cpp +++ b/src/display/nr-arena-item.cpp @@ -804,7 +804,8 @@ nr_arena_item_set_transform(NRArenaItem *item, NRMatrix const *transform) /* Set to identity affine */ item->transform = NULL; } else { - if (!item->transform) item->transform = new (GC::ATOMIC) NRMatrix(*transform); + if (!item->transform) item->transform = new (GC::ATOMIC) NRMatrix(); + *item->transform = *transform; } nr_arena_item_request_update (item, NR_ARENA_ITEM_STATE_ALL, TRUE); } |
