Code

remove desktop-affine.cpp
[inkscape.git] / src / sp-lpe-item.cpp
index 1939b2ec076b5b7826196c8d35e23cc5063dae25..f1e4c96c28bc4949299f1659c912e100cab7c677 100644 (file)
@@ -252,8 +252,7 @@ sp_lpe_item_update(SPObject *object, SPCtx *ctx, guint flags)
     // FIXME: ditch inkscape_active_event_context()
     SPEventContext *ec = inkscape_active_event_context();
     if (!SP_IS_NODE_CONTEXT(ec)) return;
-    SPNodeContext *nc = SP_NODE_CONTEXT(ec);
-    ShapeEditor *sh = nc->shape_editor;
+    ShapeEditor *sh = ec->shape_editor;
     g_assert(sh);
     if (!sh->has_nodepath()) return;