summaryrefslogtreecommitdiff
path: root/gtk2_ardour/control_point.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-11 22:54:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-11 22:54:12 -0400
commit7caf517b27aa93df14519840224104fb8a1f12c1 (patch)
tree8310fd036083803c1da3472400be8522f4cfa512 /gtk2_ardour/control_point.cc
parentee1f0520a820fb829ef3c1dbfcbb57e37242c2c8 (diff)
add (bezier) curves to canvas, use for automation lines; fix issue with rectangles missing their upper line segment; more cairo canvas fixes
Diffstat (limited to 'gtk2_ardour/control_point.cc')
-rw-r--r--gtk2_ardour/control_point.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk2_ardour/control_point.cc b/gtk2_ardour/control_point.cc
index 8e05ad0a0b..a3c2c1874b 100644
--- a/gtk2_ardour/control_point.cc
+++ b/gtk2_ardour/control_point.cc
@@ -122,14 +122,6 @@ ControlPoint::visible () const
void
ControlPoint::reset (double x, double y, AutomationList::iterator mi, uint32_t vi, ShapeType shape)
{
- /* If this is too big, libart will confuse itself and segfault after it casts the bounding box
- of this automation line to ints. Sigh.
- */
-
- if (x > INT32_MAX) {
- x = INT32_MAX;
- }
-
_model = mi;
_view_index = vi;
move_to (x, y, shape);