pianoroll's have nothing (?) to do when a region's length changes
In particular, they should not call ::set_region() again to try to make something happen
This commit is contained in:
@@ -1388,10 +1388,7 @@ Pianoroll::region_prop_change (PBD::PropertyChange const & what_changed)
|
||||
EC_LOCAL_TEMPO_SCOPE;
|
||||
|
||||
if (what_changed.contains (Properties::length)) {
|
||||
std::shared_ptr<MidiRegion> mr = view->midi_region();
|
||||
if (mr) {
|
||||
set_region (mr);
|
||||
}
|
||||
/* XXX what, if anything, should we do here ? */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user