# HG changeset patch # User Drew Perttula # Date 2014-06-02 07:47:00 # Node ID 2f492b4ac30138912360a5e8cb5cad8099076f1b # Parent b281ee32c785cac8aec4f7acf80170bc535ebb1d put curve items under manipulator items Ignore-this: b608d7b5749f5b0a3551f5f23499d0e0 diff --git a/light9/curvecalc/curveview.py b/light9/curvecalc/curveview.py --- a/light9/curvecalc/curveview.py +++ b/light9/curvecalc/curveview.py @@ -730,6 +730,7 @@ class Curveview(object): if getattr(self, 'curveGroup', None): self.curveGroup.remove() self.curveGroup = GooCanvas.CanvasGroup(parent=self.canvas.get_root_item()) + self.curveGroup.lower(None) self.canvas.set_property("background-color", "gray20" if self.curve.muted else "black") @@ -839,14 +840,17 @@ class Curveview(object): areapts.insert(0, (0, areapts[0][1])) areapts.append((self.canvas.props.x2, areapts[-1][1])) polyline_new_line(parent=self.curveGroup, - points=Points( - [(areapts[0][0], base)] + - areapts + - [(areapts[-1][0], base)]), - close_path=True, - line_width=0, - fill_color="green", - ) + points=Points( + [(areapts[0][0], base)] + + areapts + + [(areapts[-1][0], base)]), + close_path=True, + line_width=0, + # transparent as a workaround for + # covering some selectmanips (which + # become unclickable) + fill_color_rgba=0x00800080, + ) self.pl = polyline_new_line(parent=self.curveGroup, points=Points(linepts),