make sure that AudioRegion::set_live_state() notifies interested parties when normali...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Sep 2007 11:26:39 +0000 (11:26 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 11 Sep 2007 11:26:39 +0000 (11:26 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2455 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/audioregion.cc

index 7ac14f1ddad5330357604a522348297b557d4866..9980500245c532e398e45274d776f715f6f4bcba 100644 (file)
@@ -601,6 +601,7 @@ AudioRegion::set_live_state (const XMLNode& node, Change& what_changed, bool sen
 
        if ((prop = node.property ("scale-gain")) != 0) {
                _scale_amplitude = atof (prop->value().c_str());
+               what_changed = Change (what_changed|ScaleAmplitudeChanged);
        } else {
                _scale_amplitude = 1.0;
        }