no whole file regions in triggerbox slots
This commit is contained in:
parent
f9a2da3426
commit
d69dfc26a6
@ -665,7 +665,15 @@ Trigger::clear_region ()
|
||||
void
|
||||
Trigger::set_region_internal (boost::shared_ptr<Region> r)
|
||||
{
|
||||
/* No whole file regions in the triggerbox, just like we do not allow
|
||||
* them in playlists either.
|
||||
*/
|
||||
|
||||
if (r->whole_file ()) {
|
||||
_region = RegionFactory::create (r, r->derive_properties ());
|
||||
} else {
|
||||
_region = r;
|
||||
}
|
||||
}
|
||||
|
||||
timepos_t
|
||||
|
Loading…
Reference in New Issue
Block a user