fixed #143 regression
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
// C callbacks
|
||||
extern "C" {
|
||||
// Main host callback
|
||||
VstIntPtr VSTCALLBACK hostCallback(AEffect *effect, int opcode, int, long long, void *, float) {
|
||||
VstIntPtr VSTCALLBACK hostCallback(AEffect* effect, VstInt32 opcode, VstInt32 index, VstIntPtr value, void* ptr, float opt) {
|
||||
switch(opcode) {
|
||||
case audioMasterVersion:
|
||||
return 2400;
|
||||
|
||||
@@ -53,9 +53,7 @@ public:
|
||||
ResizableScrollBar* horizontalScrollBar;
|
||||
QScrollBar* verticalScrollBar;
|
||||
|
||||
QMutex effects_loaded;
|
||||
|
||||
|
||||
QMutex effects_loaded;
|
||||
public slots:
|
||||
void update_keyframes();
|
||||
private slots:
|
||||
@@ -73,7 +71,7 @@ private:
|
||||
void show_effect_menu(int type, int subtype);
|
||||
void load_effects();
|
||||
void load_keyframes();
|
||||
void open_effect(QVBoxLayout* hlayout, Effect* e);
|
||||
void open_effect(QVBoxLayout* hlayout, Effect* e);
|
||||
|
||||
void setup_ui();
|
||||
|
||||
|
||||
+4
-2
@@ -580,7 +580,8 @@ void Effect::move_up() {
|
||||
command->from = get_index_in_clip();
|
||||
command->to = command->from - 1;
|
||||
undo_stack.push(command);
|
||||
update_ui(true);
|
||||
panel_effect_controls->reload_clips();
|
||||
panel_sequence_viewer->viewer_widget->frame_update();
|
||||
}
|
||||
|
||||
void Effect::move_down() {
|
||||
@@ -589,7 +590,8 @@ void Effect::move_down() {
|
||||
command->from = get_index_in_clip();
|
||||
command->to = command->from + 1;
|
||||
undo_stack.push(command);
|
||||
update_ui(true);
|
||||
panel_effect_controls->reload_clips();
|
||||
panel_sequence_viewer->viewer_widget->frame_update();
|
||||
}
|
||||
|
||||
int Effect::get_index_in_clip() {
|
||||
|
||||
Reference in New Issue
Block a user