summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
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],