Changeset 1255

Show
Ignore:
Timestamp:
06/09/08 12:08:43 (3 months ago)
Author:
drobilla
Message:

Fix port control slider synchronization issues.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ingen/src/libs/gui/ControlGroups.cpp

    r1254 r1255  
    168168SliderControlGroup::set_value(const Atom& atom) 
    169169{ 
     170        cout << "CONTROL VALUE CHANGED" << endl; 
     171 
    170172        float val = atom.get_float(); 
    171173         
  • ingen/src/libs/gui/ControlPanel.cpp

    r842 r1255  
    232232{ 
    233233        if (_callback_enabled) { 
    234                 App::instance().engine()->disable_responses(); 
    235  
    236                 /* Send the message, but set the client-side model's value to the new 
    237                  * setting right away (so the value doesn't need to be echoed back) */ 
    238234         
    239235                if (_all_voices_radio->get_active()) { 
     
    248244                } 
    249245 
    250                 App::instance().engine()->set_next_response_id(rand()); // FIXME: inefficient, probably not good 
    251246        } 
    252247} 
  • ingen/src/libs/gui/Port.cpp

    r1218 r1255  
    9595Port::value_changed(const Atom& value) 
    9696{ 
     97        cout << "PORT VALUE CHANGED" << endl; 
     98 
    9799        if (value.type() == Atom::FLOAT) 
    98100                FlowCanvas::Port::set_control(value.get_float());