Commit 515569e7 authored by Nathan Lee's avatar Nathan Lee

Crashfix for copying object with LPE Clone

Fix inbox#553
parent 9afd2e38
Pipeline #73339514 failed with stages
in 8 minutes and 21 seconds
......@@ -61,11 +61,9 @@ void LPECloneOriginal::doEffect (SPCurve * curve)
curve_out = SP_TEXT(linked_obj)->getNormalizedBpath();
}
if (curve_out == NULL) {
// curve invalid, set empty pathvector
curve_out->set_pathvector(Geom::PathVector());
if (curve_out != NULL) {
curve->set_pathvector(curve_out->get_pathvector());
}
curve->set_pathvector(curve_out->get_pathvector());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment