fixed hilarious alt drag bug

This commit is contained in:
itsmattkc
2018-09-02 23:03:29 +10:00
parent fa73dbfa1c
commit 2dd58e3df3
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ void open_clip(Clip* clip, bool multithreaded) {
void close_clip(Clip* clip) {
// destroy opengl texture in main thread
if (clip->texture != NULL) {
clip->texture->destroy();
delete clip->texture;
clip->texture = NULL;
}
+1 -3
View File
@@ -581,9 +581,7 @@ void TimelineWidget::mouseReleaseEvent(QMouseEvent *event) {
// relink duplicated clips
panel_timeline->relink_clips_using_ids(old_clips, new_clips);
for (int i=0;i<new_clips.size();i++) {
ta->add_clips(sequence, new_clips);
}
ta->add_clips(sequence, new_clips);
}
} else {
// move clips