diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-08-18 00:46:44 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-08-18 00:46:44 +0000 |
| commit | a5c525424eaeb11f84f8b3553f7f05f10c667eab (patch) | |
| tree | c803e17ff019c6ac3cd6b28527377f2f2bc97a00 /src/lpe-tool-context.cpp | |
| parent | Add action to change the end type of line segments if an item has LPELineSegm... (diff) | |
| download | inkscape-a5c525424eaeb11f84f8b3553f7f05f10c667eab.tar.gz inkscape-a5c525424eaeb11f84f8b3553f7f05f10c667eab.zip | |
Some debugging messages
(bzr r6684)
Diffstat (limited to 'src/lpe-tool-context.cpp')
| -rw-r--r-- | src/lpe-tool-context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpe-tool-context.cpp b/src/lpe-tool-context.cpp index f7b0091ec..0b3fb25bf 100644 --- a/src/lpe-tool-context.cpp +++ b/src/lpe-tool-context.cpp @@ -167,6 +167,7 @@ destroys old and creates new nodepath and reassigns listeners to the new selecte void sp_lpetool_context_selection_changed(Inkscape::Selection *selection, gpointer data) { + g_print ("sp_lpetool_context_selection_changed()\n"); SPLPEToolContext *lc = SP_LPETOOL_CONTEXT(data); // TODO: update ShapeEditorsCollective instead @@ -329,13 +330,16 @@ lpetool_mode_to_index(Inkscape::LivePathEffect::EffectType const type) { int lpetool_item_has_construction(SPLPEToolContext *lc, SPItem *item) { if (!SP_IS_LPE_ITEM(item)) { + g_print ("item is not LPEItem; returning -1\n"); return -1; } Inkscape::LivePathEffect::Effect* lpe = sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item)); if (!lpe) { + g_print ("no valid construction; returning -1\n"); return -1; } + g_print ("returning construction %d\n", lpetool_mode_to_index(lpe->effectType())); return lpetool_mode_to_index(lpe->effectType()); } |
