diff options
author | David Robillard <d@drobilla.net> | 2013-01-12 05:51:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-12 05:51:44 +0000 |
commit | 6d3f652624c18d960dbe34d65e333186b2dfd90a (patch) | |
tree | dd1fdbb3d29210773a35a64e49f8981a2898dffe /src/gui | |
parent | 3608cf1123c28e960892da7b38b4249efdd5e4aa (diff) | |
download | machina-6d3f652624c18d960dbe34d65e333186b2dfd90a.tar.gz machina-6d3f652624c18d960dbe34d65e333186b2dfd90a.tar.bz2 machina-6d3f652624c18d960dbe34d65e333186b2dfd90a.zip |
Fix node times when importing MIDI.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4934 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/NodePropertiesWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/NodePropertiesWindow.cpp b/src/gui/NodePropertiesWindow.cpp index 52ad5af..9a76420 100644 --- a/src/gui/NodePropertiesWindow.cpp +++ b/src/gui/NodePropertiesWindow.cpp @@ -89,7 +89,7 @@ void NodePropertiesWindow::set_node(SharedPtr<Machina::Client::ClientObject> node) { _node = node; -#if 0 + #if 0 SharedPtr<MidiAction> enter_action = PtrCast<MidiAction>(node->enter_action()); if (enter_action && ( enter_action->event_size() > 1) && ( (enter_action->event()[0] & 0xF0) == 0x90) ) { @@ -102,7 +102,7 @@ NodePropertiesWindow::set_node(SharedPtr<Machina::Client::ClientObject> node) _note_spinbutton->hide(); } _duration_spinbutton->set_value(node->duration().to_double()); -#endif + #endif } void |