summaryrefslogtreecommitdiff
path: root/gtk2_ardour/au_pluginui.mm
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-27 23:11:45 +0100
committerRobin Gareus <robin@gareus.org>2015-10-27 23:12:53 +0100
commite8fe35d96ed13f3df0e2f03e2f347e908064a31d (patch)
tree51745d301f42d46046f2e281709becd6b1fd7d1b /gtk2_ardour/au_pluginui.mm
parent42424eeb6c9b7e15c338445aa9942c48f91098aa (diff)
potential fix for some AU plugin UIs not displaying
looks like not all AU plugin GUIs redraw themselves if [win setAutodisplay:1] is unnot. A user reported that some Waves plugins and Shattered Glass 32bit AUs are blank in 4.4 on 32bit OSX. see also 5eefdf7 and earlier AU/API changes.
Diffstat (limited to 'gtk2_ardour/au_pluginui.mm')
-rw-r--r--gtk2_ardour/au_pluginui.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm
index a964017499..54d3ab2ffe 100644
--- a/gtk2_ardour/au_pluginui.mm
+++ b/gtk2_ardour/au_pluginui.mm
@@ -813,12 +813,11 @@ AUPluginUI::lower_box_size_allocate (Gtk::Allocation& allocation)
gboolean
AUPluginUI::lower_box_expose (GdkEventExpose* event)
{
-#if 0 // AU view magically redraws by itself
[au_view drawRect:NSMakeRect(event->area.x,
event->area.y,
event->area.width,
event->area.height)];
-#endif
+
/* hack to keep ardour responsive
* some UIs (e.g Addictive Drums) completely hog the CPU
*/