summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-08-12 15:15:47 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-08-12 15:15:47 +0000
commit3faef6596ba331431221a9ada2238ea6c05688cc (patch)
treee82ba8b3b066376cf8501591257d68a4ef6c56d9 /src/nodepath.cpp
parentinvariants are usually clearer up front (diff)
downloadinkscape-3faef6596ba331431221a9ada2238ea6c05688cc.tar.gz
inkscape-3faef6596ba331431221a9ada2238ea6c05688cc.zip
update livarot_path after committing change; fixes 1534994
(bzr r1591)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index e3681f59a..3398ac1a1 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -482,6 +482,10 @@ void sp_nodepath_update_repr(Inkscape::NodePath::Path *np, const gchar *annotati
//fixme: np can be NULL, so check before proceeding
g_return_if_fail(np != NULL);
+ update_repr_internal(np);
+ sp_document_done(sp_desktop_document(np->desktop), SP_VERB_CONTEXT_NODE,
+ annotation);
+
if (np->livarot_path) {
delete np->livarot_path;
np->livarot_path = NULL;
@@ -493,9 +497,6 @@ void sp_nodepath_update_repr(Inkscape::NodePath::Path *np, const gchar *annotati
np->livarot_path->ConvertWithBackData(0.01);
}
- update_repr_internal(np);
- sp_document_done(sp_desktop_document(np->desktop), SP_VERB_CONTEXT_NODE,
- annotation);
}
/**