summaryrefslogtreecommitdiffstats
path: root/src/object/sp-shape.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-03-08 23:50:57 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-03-26 17:48:34 +0000
commit6e5d89bf9595648fcebcf76fd031ba1ea022d397 (patch)
treea7eb90d21021e843a63c286427a533a4402877d7 /src/object/sp-shape.cpp
parentFix maren problem in https://gitlab.com/inkscape/inkscape/merge_requests/212#... (diff)
downloadinkscape-6e5d89bf9595648fcebcf76fd031ba1ea022d397.tar.gz
inkscape-6e5d89bf9595648fcebcf76fd031ba1ea022d397.zip
Fixing refs
Diffstat (limited to 'src/object/sp-shape.cpp')
-rw-r--r--src/object/sp-shape.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/object/sp-shape.cpp b/src/object/sp-shape.cpp
index 07416650e..48252a1d9 100644
--- a/src/object/sp-shape.cpp
+++ b/src/object/sp-shape.cpp
@@ -733,7 +733,7 @@ void SPShape::print(SPPrintContext* ctx) {
if (add_comments) {
gchar * comment = g_strdup_printf("end '%s'",
- this->defaultLabel());
+ this->defaultLabel());
sp_print_comment(ctx, comment);
g_free(comment);
}
@@ -1033,7 +1033,7 @@ void SPShape::setCurve(SPCurve *new_curve, unsigned int owner)
* Sets _curve_before_lpe to refer to the curve.
*/
void
-SPShape::setCurveBeforeLPE(SPCurve *new_curve, unsigned int owner)
+SPShape::setCurveBeforeLPE(SPCurve *new_curve, unsigned int owner, bool write)
{
if (_curve_before_lpe) {
_curve_before_lpe = _curve_before_lpe->unref();
@@ -1046,6 +1046,8 @@ SPShape::setCurveBeforeLPE(SPCurve *new_curve, unsigned int owner)
_curve_before_lpe = new_curve->copy();
}
}
+ sp_lpe_item_update_patheffect(this, true, write);
+ requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
/**