13
0

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.
This commit is contained in:
Robin Gareus 2015-10-27 23:11:45 +01:00
parent 42424eeb6c
commit e8fe35d96e

View File

@ -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
*/