diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-07-29 14:53:51 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-07-29 14:53:51 +0000 |
| commit | 5b03b856419514f2c3479fefdd6c34db1c54ee43 (patch) | |
| tree | 3b197c9e1eadecb523b5e126595bdbe4d0ed1651 /src/node-context.cpp | |
| parent | Refactor some code in nodepath.cpp (eliminate duplicates in generate_helperpa... (diff) | |
| download | inkscape-5b03b856419514f2c3479fefdd6c34db1c54ee43.tar.gz inkscape-5b03b856419514f2c3479fefdd6c34db1c54ee43.zip | |
Along with nodepath also create/destroy the helperpaths of any LPEs associated to its current item
(bzr r6452)
Diffstat (limited to '')
| -rw-r--r-- | src/node-context.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/node-context.cpp b/src/node-context.cpp index a72501af7..66e535ac3 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -183,6 +183,7 @@ sp_node_context_setup(SPEventContext *ec) static void sp_node_context_flash_path(SPEventContext *event_context, SPItem *item, guint timeout) { + g_print ("-----> sp_node_context_flash_path(): TODO: generate the helper path!!\n"); SPNodeContext *nc = SP_NODE_CONTEXT(event_context); nc->remove_flash_counter = 3; // for some reason root_handler is called twice after each item_handler... @@ -196,7 +197,7 @@ sp_node_context_flash_path(SPEventContext *event_context, SPItem *item, guint ti } if (SP_IS_PATH(item)) { - SPCanvasItem *canvasitem = sp_nodepath_generate_helperpath(desktop, SP_PATH(item)); + SPCanvasItem *canvasitem = sp_nodepath_helperpath_from_path(desktop, SP_PATH(item)); nc->flash_tempitem = desktop->add_temporary_canvasitem (canvasitem, timeout); } } |
