Timeline/Audio_Region: Ensure the region splits are logged as a group.
Closes #166
This commit is contained in:
parent
18a299cac7
commit
cf8e553bb4
|
@ -215,8 +215,6 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
|
||||||
|
|
||||||
m->item_pathname( picked, sizeof( picked ) );
|
m->item_pathname( picked, sizeof( picked ) );
|
||||||
|
|
||||||
Logger log( this );
|
|
||||||
|
|
||||||
if ( ! strcmp( picked, "Fade/In/Linear" ) )
|
if ( ! strcmp( picked, "Fade/In/Linear" ) )
|
||||||
_fade_in.type = Fade::Linear;
|
_fade_in.type = Fade::Linear;
|
||||||
else if ( ! strcmp( picked, "Fade/In/Sigmoid" ) )
|
else if ( ! strcmp( picked, "Fade/In/Sigmoid" ) )
|
||||||
|
@ -241,11 +239,11 @@ Audio_Region::menu_cb ( const Fl_Menu_ *m )
|
||||||
|
|
||||||
split( timeline->x_to_offset( Fl::event_x() ) );
|
split( timeline->x_to_offset( Fl::event_x() ) );
|
||||||
|
|
||||||
log_end();
|
log_end();
|
||||||
|
|
||||||
Loggable::block_end();
|
Loggable::block_end();
|
||||||
|
|
||||||
log_start();
|
log_start();
|
||||||
}
|
}
|
||||||
else if ( ! strcmp( picked, "/Crop to range" ) )
|
else if ( ! strcmp( picked, "/Crop to range" ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue