Code

enable motion hints for non-freehand actions
[inkscape.git] / src / sp-use-reference.cpp
index 1474a43a9fefe477543f494769b8c786b60c3983..5b5011381a41fd18758d3bd9a6e3bdd30a41589c 100644 (file)
@@ -231,8 +231,8 @@ void SPUsePath::refresh_source()
         }
     }
     originalPath = new Path;
-    originalPath->LoadArtBPath(SP_CURVE_BPATH(curve), NR::Matrix(item->transform), true);
-    sp_curve_unref(curve);
+    originalPath->LoadPathVector(curve->get_pathvector(), to_2geom(item->transform), true);
+    curve->unref();
 }