From: buliabyak Date: Sun, 29 Jun 2008 17:21:58 +0000 (+0000) Subject: even with zero opacity, paths must be selectable in outline mode X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a370f036ddecd686df42c69fb5c490f54db1c776;p=inkscape.git even with zero opacity, paths must be selectable in outline mode --- diff --git a/src/display/nr-arena-shape.cpp b/src/display/nr-arena-shape.cpp index 7bd80c732..6974b0008 100644 --- a/src/display/nr-arena-shape.cpp +++ b/src/display/nr-arena-shape.cpp @@ -1068,14 +1068,16 @@ nr_arena_shape_pick(NRArenaItem *item, NR::Point p, double delta, unsigned int / if (!shape->curve) return NULL; if (!shape->style) return NULL; - if (SP_SCALE24_TO_FLOAT(shape->style->opacity.value) == 0) // fully transparent, no pick + + bool outline = (NR_ARENA_ITEM(shape)->arena->rendermode == Inkscape::RENDERMODE_OUTLINE); + + if (SP_SCALE24_TO_FLOAT(shape->style->opacity.value) == 0 && !outline) + // fully transparent, no pick unless outline mode return NULL; GTimeVal tstart, tfinish; g_get_current_time (&tstart); - bool outline = (NR_ARENA_ITEM(shape)->arena->rendermode == Inkscape::RENDERMODE_OUTLINE); - double width; if (outline) { width = 0.5;