~jabiertxof/+junk/inkscape

« back to all changes in this revision

Viewing changes to src/ui/tools/freehand-base.cpp

update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
303
303
    if (item && SP_IS_LPE_ITEM(item)) {
304
304
        if (prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 1) {
305
305
            Effect::createAndApply(SPIRO, dc->desktop->doc(), item);
306
 
        }
307
 
        //add the bspline node in the waiting effects
308
 
        if (prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2) {
 
306
        } //add the bspline node in the waiting effects
 
307
        else if (prefs->getInt(tool_name(dc) + "/freehand-mode", 0) == 2) {
309
308
            Effect::createAndApply(BSPLINE, dc->desktop->doc(), item);
310
309
        }
311
310