summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-02-07 23:23:09 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-02-07 23:23:09 +0000
commitd050d7648b9702db0fe55fe188343ff0acf764c9 (patch)
treeaffedf295b4254919b1dad239dc7d2557ccccb1f /src/ui/tool/path-manipulator.cpp
parentPencil tool: fix drawing when starting a new freehand path on top of the pre-... (diff)
downloadinkscape-d050d7648b9702db0fe55fe188343ff0acf764c9.tar.gz
inkscape-d050d7648b9702db0fe55fe188343ff0acf764c9.zip
Fix new path update preference.
(bzr r9066)
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp
index b1a86dd77..3a6b15f37 100644
--- a/src/ui/tool/path-manipulator.cpp
+++ b/src/ui/tool/path-manipulator.cpp
@@ -170,6 +170,11 @@ void PathManipulator::update()
/** Store the changes to the path in XML. */
void PathManipulator::writeXML()
{
+ if (!_live_outline)
+ _updateOutline();
+ if (!_live_objects)
+ _setGeometry();
+
if (!_path) return;
_observer->block();
if (!empty()) {
@@ -184,13 +189,6 @@ void PathManipulator::writeXML()
_path = 0;
}
_observer->unblock();
-
- if (!empty()) {
- if (!_live_outline)
- _updateOutline();
- if (!_live_objects)
- _setGeometry();
- }
}
/** Remove all nodes from the path. */