added in-timeline recording
This commit is contained in:
@@ -371,6 +371,8 @@ void Project::process_file_list(bool recursive, QStringList& files, QTreeWidgetI
|
||||
QVector<bool> image_sequence_importassequence;
|
||||
QStringList image_sequence_formats = config.img_seq_formats.split("|");
|
||||
|
||||
if (!recursive) last_imported_media.clear();
|
||||
|
||||
bool create_undo_action = (!recursive && replace == NULL);
|
||||
ComboAction* ca;
|
||||
if (create_undo_action) ca = new ComboAction();
|
||||
@@ -494,6 +496,8 @@ void Project::process_file_list(bool recursive, QStringList& files, QTreeWidgetI
|
||||
|
||||
set_footage_of_tree(item, m);
|
||||
|
||||
last_imported_media.append(m);
|
||||
|
||||
if (replace == NULL) {
|
||||
if (create_undo_action) {
|
||||
ca->append(new AddMediaCommand(item, parent));
|
||||
|
||||
Reference in New Issue
Block a user