projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991b913
)
fixes for some stupid thinko-crash bugs with automation
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 28 Nov 2006 23:08:46 +0000
(23:08 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 28 Nov 2006 23:08:46 +0000
(23:08 +0000)
git-svn-id: svn://localhost/ardour2/trunk@1168
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/automation_line.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/automation_line.cc
b/gtk2_ardour/automation_line.cc
index 18777def100328c8e0d131ed258dfd731c3493ad..116a3e63ba02540a51c4fafeef21d0789706b3a1 100644
(file)
--- a/
gtk2_ardour/automation_line.cc
+++ b/
gtk2_ardour/automation_line.cc
@@
-824,7
+824,11
@@
AutomationLine::point_drag (ControlPoint& cp, nframes_t x, float fraction, bool
drag_x = x;
modify_view_point (cp, x, fraction, with_push);
- line->property_points() = line_points;
+
+ if (line_points.size() > 1) {
+ line->property_points() = line_points;
+ }
+
drags++;
did_push = with_push;
}
@@
-848,6
+852,9
@@
AutomationLine::line_drag (uint32_t i1, uint32_t i2, float fraction, bool with_p
modify_view_point (*cp, trackview.editor.unit_to_frame (cp->get_x()), ((_height - cp->get_y()) /_height) + ydelta, with_push);
}
+ if (line_points.size() > 1) {
+ line->property_points() = line_points;
+ }
drags++;
}