Changeset 70fe348 in ingen


Ignore:
Timestamp:
10/25/15 11:16:15 (22 months ago)
Author:
David Robillard <d@…>
Branches:
master, groups, nodeless, parallel, parameters, sequencefix
Children:
06eb959
Parents:
1a33b80
Message:

Fix explicit sequence port monitoring

Patch from Robin Gareus.

git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5786 a436a847-0d15-0410-975c-d299462d15a1

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ingen/client/PluginUI.hpp

    r557f9d42 r70fe348  
    6060     */ 
    6161    bool instantiate(); 
     62    bool instantiated () { return _instance != NULL; } 
    6263 
    6364    SuilWidget get_widget(); 
  • src/gui/NodeModule.cpp

    r557f9d42 r70fe348  
    327327                sigc::mem_fun(app(), &App::set_property)); 
    328328 
     329            if (!_plugin_ui->instantiated() &&  !_plugin_ui->instantiate()) { 
     330                app().log().error("Failed to instantiate LV2 UI\n"); 
     331                return false; 
     332            } 
     333 
    329334            GtkWidget* c_widget = (GtkWidget*)_plugin_ui->get_widget(); 
    330335            _gui_widget = Glib::wrap(c_widget); 
  • src/server/PortImpl.cpp

    r732bfb33 r70fe348  
    427427    const bool is_sequence  = (_type.id() == PortType::ATOM && 
    428428                               _buffer_type == _bufs.uris().atom_Sequence); 
    429     if (!time_to_send && (!is_sequence || _monitored || buffer(0)->value())) { 
     429    if (!time_to_send && !(is_sequence && _monitored) && (!is_sequence && buffer(0)->value())) { 
    430430        return; 
    431431    } 
Note: See TracChangeset for help on using the changeset viewer.