Remove extra .mid suffix added to cloned MIDI region names (#4914).
git-svn-id: svn://localhost/ardour2/branches/3.0@12627 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include <glibmm/thread.h>
|
||||
|
||||
#include "pbd/xml++.h"
|
||||
#include "pbd/filesystem.h"
|
||||
|
||||
#include "ardour/automation_control.h"
|
||||
#include "ardour/midi_model.h"
|
||||
@@ -134,7 +135,7 @@ MidiRegion::clone (string path) const
|
||||
|
||||
PropertyList plist;
|
||||
|
||||
plist.add (Properties::name, ms->name());
|
||||
plist.add (Properties::name, sys::basename (ms->name()));
|
||||
plist.add (Properties::whole_file, true);
|
||||
plist.add (Properties::start, _start);
|
||||
plist.add (Properties::start_beats, _start_beats);
|
||||
|
||||
Reference in New Issue
Block a user