Code

add SPCurve::get_segment_count
[inkscape.git] / src / interface.cpp
index 2c73592f1c3f1b48505691d3990dcaa3bd71a194..1ad90c58c5746f1dfde172fc477b812407357fd3 100644 (file)
@@ -1189,7 +1189,7 @@ sp_ui_drag_data_received(GtkWidget *widget,
                                 ( !SP_OBJECT_STYLE(item)->stroke.isNone() ?
                                   desktop->current_zoom() *
                                   SP_OBJECT_STYLE (item)->stroke_width.computed *
-                                  NR::expansion(sp_item_i2d_affine(item)) * 0.5
+                                  NR::expansion(from_2geom(sp_item_i2d_affine(item))) * 0.5
                                   : 0.0)
                                 + prefs_get_int_attribute_limited("options.dragtolerance", "value", 0, 0, 100);