summaryrefslogtreecommitdiffstats
path: root/src/object/sp-path.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-04-22 22:09:01 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2018-04-23 21:37:56 +0000
commite65551ff4a5356b86a973bcbe4ef973bdf09525c (patch)
tree627efd33fd2695caf16a5b9f52b8b2da22a14343 /src/object/sp-path.cpp
parentRemove pathh orig file (diff)
downloadinkscape-e65551ff4a5356b86a973bcbe4ef973bdf09525c.tar.gz
inkscape-e65551ff4a5356b86a973bcbe4ef973bdf09525c.zip
Fix warings on updates
Diffstat (limited to 'src/object/sp-path.cpp')
-rw-r--r--src/object/sp-path.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp
index 49a0a6e46..4d1f1311f 100644
--- a/src/object/sp-path.cpp
+++ b/src/object/sp-path.cpp
@@ -246,8 +246,6 @@ void SPPath::set(unsigned int key, const gchar* value) {
} else {
this->setCurve(NULL);
}
-
- this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
break;
case SP_PROP_MARKER:
@@ -307,6 +305,10 @@ g_message("sp_path_write writes 'd' attribute");
return repr;
}
+void SPPath::update_patheffect(bool write) {
+ SPShape::update_patheffect(write);
+}
+
void SPPath::update(SPCtx *ctx, guint flags) {
if (flags & (SP_OBJECT_MODIFIED_FLAG | SP_OBJECT_STYLE_MODIFIED_FLAG | SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
flags &= ~SP_OBJECT_USER_MODIFIED_FLAG_B; // since we change the description, it's not a "just translation" anymore