summaryrefslogtreecommitdiffstats
path: root/src/nodepath.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2009-06-10 22:32:57 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2009-06-10 22:32:57 +0000
commit9d68fc08e56ed1115ed604ce152c9fb8fac0c1f8 (patch)
treedf9df7859729a44336724882909604b5003a4e97 /src/nodepath.cpp
parentMinor French translation update. (diff)
downloadinkscape-9d68fc08e56ed1115ed604ce152c9fb8fac0c1f8.tar.gz
inkscape-9d68fc08e56ed1115ed604ce152c9fb8fac0c1f8.zip
disable helperpath flashing for texts but enable it for grouped paths
(bzr r8042)
Diffstat (limited to 'src/nodepath.cpp')
-rw-r--r--src/nodepath.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index ad230df75..8a47b658b 100644
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
@@ -5067,7 +5067,9 @@ sp_nodepath_generate_helperpath(SPDesktop *desktop, SPItem *item) {
} else if ( SP_IS_SHAPE(item) && SP_SHAPE(item)->curve ) {
curve = sp_shape_get_curve (SP_SHAPE(item));
} else if ( SP_IS_TEXT(item) ) {
- curve = SP_TEXT(item)->getNormalizedBpath();
+ // do not display helperpath for text - we cannot do anything with it in Node tool anyway
+ // curve = SP_TEXT(item)->getNormalizedBpath();
+ return NULL;
} else {
g_warning ("-----> sp_nodepath_generate_helperpath(SPDesktop *desktop, SPItem *item): TODO: generate the helper path for this item type!\n");
return NULL;