summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-09-23 04:41:02 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-09-23 04:41:02 +0000
commit12a51e1ecf243265a1f65201965bfbb96f607345 (patch)
tree0ccfc5b7dd3208de2a5495e978330251bd84d804 /src/sp-shape.cpp
parentMade bitmap printing use the DPI setting (bug 258916) (diff)
downloadinkscape-12a51e1ecf243265a1f65201965bfbb96f607345.tar.gz
inkscape-12a51e1ecf243265a1f65201965bfbb96f607345.zip
it's not a good idea to change key of arenaitem in the middle of an update; not only this is unnecessary, but it results in a hard to catch windows-only crash
(bzr r6871)
Diffstat (limited to 'src/sp-shape.cpp')
-rw-r--r--src/sp-shape.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index fbb9a60f6..6aec13bc9 100644
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
@@ -288,16 +288,6 @@ sp_shape_update (SPObject *object, SPCtx *ctx, unsigned int flags)
/* Dimension marker views */
for (SPItemView *v = item->display; v != NULL; v = v->next) {
- if (!v->arenaitem->key) {
- /* Get enough keys for all, start, mid and end marker types,
- ** and set this view's arenaitem key to the first of these keys.
- */
- NR_ARENA_ITEM_SET_KEY (
- v->arenaitem,
- sp_item_display_key_new (SP_MARKER_LOC_QTY)
- );
- }
-
for (int i = 0 ; i < SP_MARKER_LOC_QTY ; i++) {
if (shape->marker[i]) {
sp_marker_show_dimension ((SPMarker *) shape->marker[i],