trying to track down why undo doesn't remove xfade rendering on OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@13102 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
611dcdd249
commit
9743340fa3
|
@ -267,7 +267,7 @@ void
|
||||||
AudioRegionView::region_changed (const PropertyChange& what_changed)
|
AudioRegionView::region_changed (const PropertyChange& what_changed)
|
||||||
{
|
{
|
||||||
ENSURE_GUI_THREAD (*this, &AudioRegionView::region_changed, what_changed);
|
ENSURE_GUI_THREAD (*this, &AudioRegionView::region_changed, what_changed);
|
||||||
// cerr << "AudioRegionView::region_changed() called" << endl;
|
cerr << "AudioRegionView::region_changed() called" << endl;
|
||||||
|
|
||||||
RegionView::region_changed (what_changed);
|
RegionView::region_changed (what_changed);
|
||||||
|
|
||||||
|
@ -275,17 +275,30 @@ AudioRegionView::region_changed (const PropertyChange& what_changed)
|
||||||
region_scale_amplitude_changed ();
|
region_scale_amplitude_changed ();
|
||||||
}
|
}
|
||||||
if (what_changed.contains (ARDOUR::Properties::fade_in)) {
|
if (what_changed.contains (ARDOUR::Properties::fade_in)) {
|
||||||
|
cerr << region()->name() << " in changed\n";
|
||||||
|
stacktrace (cerr, 40);
|
||||||
fade_in_changed ();
|
fade_in_changed ();
|
||||||
}
|
}
|
||||||
if (what_changed.contains (ARDOUR::Properties::fade_out)) {
|
if (what_changed.contains (ARDOUR::Properties::fade_out)) {
|
||||||
|
cerr << region()->name() << " out changed\n";
|
||||||
fade_out_changed ();
|
fade_out_changed ();
|
||||||
}
|
}
|
||||||
if (what_changed.contains (ARDOUR::Properties::fade_in_active)) {
|
if (what_changed.contains (ARDOUR::Properties::fade_in_active)) {
|
||||||
|
cerr << region()->name() << " in active changed\n";
|
||||||
fade_in_active_changed ();
|
fade_in_active_changed ();
|
||||||
}
|
}
|
||||||
if (what_changed.contains (ARDOUR::Properties::fade_out_active)) {
|
if (what_changed.contains (ARDOUR::Properties::fade_out_active)) {
|
||||||
|
cerr << region()->name() << " out active changed\n";
|
||||||
fade_out_active_changed ();
|
fade_out_active_changed ();
|
||||||
}
|
}
|
||||||
|
if (what_changed.contains (ARDOUR::Properties::fade_in_is_xfade)) {
|
||||||
|
cerr << region()->name() << " in is xfade changed\n";
|
||||||
|
fade_in_changed ();
|
||||||
|
}
|
||||||
|
if (what_changed.contains (ARDOUR::Properties::fade_out_is_xfade)) {
|
||||||
|
cerr << region()->name() << " out is xfade changed\n";
|
||||||
|
fade_out_changed ();
|
||||||
|
}
|
||||||
if (what_changed.contains (ARDOUR::Properties::envelope_active)) {
|
if (what_changed.contains (ARDOUR::Properties::envelope_active)) {
|
||||||
envelope_active_changed ();
|
envelope_active_changed ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,10 @@ namespace Properties {
|
||||||
extern PBD::PropertyDescriptor<bool> fade_in_active;
|
extern PBD::PropertyDescriptor<bool> fade_in_active;
|
||||||
extern PBD::PropertyDescriptor<bool> fade_out_active;
|
extern PBD::PropertyDescriptor<bool> fade_out_active;
|
||||||
extern PBD::PropertyDescriptor<float> scale_amplitude;
|
extern PBD::PropertyDescriptor<float> scale_amplitude;
|
||||||
|
extern PBD::PropertyDescriptor<bool> fade_out_is_xfade;
|
||||||
|
extern PBD::PropertyDescriptor<bool> fade_out_is_short;
|
||||||
|
extern PBD::PropertyDescriptor<bool> fade_in_is_xfade;
|
||||||
|
extern PBD::PropertyDescriptor<bool> fade_in_is_short;
|
||||||
extern PBD::PropertyDescriptor<boost::shared_ptr<AutomationList> > fade_in;
|
extern PBD::PropertyDescriptor<boost::shared_ptr<AutomationList> > fade_in;
|
||||||
extern PBD::PropertyDescriptor<boost::shared_ptr<AutomationList> > inverse_fade_in;
|
extern PBD::PropertyDescriptor<boost::shared_ptr<AutomationList> > inverse_fade_in;
|
||||||
extern PBD::PropertyDescriptor<boost::shared_ptr<AutomationList> > fade_out;
|
extern PBD::PropertyDescriptor<boost::shared_ptr<AutomationList> > fade_out;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user