summaryrefslogtreecommitdiff
path: root/libs/ardour/region_factory.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-15 19:36:48 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-15 19:36:48 +0000
commit1aca200a6ac28599e68fd86cb5cc62a60f867af3 (patch)
tree62db55045919cae6e5a6f67fb159392c8f7ee0c0 /libs/ardour/region_factory.cc
parent8713667ec1a6cc9ba56c07f763e5a422cc47fbef (diff)
more set_state() tweaks to get a 2.X session to load without aborting
git-svn-id: svn://localhost/ardour2/branches/3.0@5788 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/region_factory.cc')
-rw-r--r--libs/ardour/region_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/region_factory.cc b/libs/ardour/region_factory.cc
index 6ff4ae2dc1..8b2d30d511 100644
--- a/libs/ardour/region_factory.cc
+++ b/libs/ardour/region_factory.cc
@@ -133,9 +133,9 @@ boost::shared_ptr<Region>
RegionFactory::create (Session& session, XMLNode& node, bool yn)
{
boost::shared_ptr<Region> r = session.XMLRegionFactory (node, yn);
- r->unlock_property_changes ();
if (r) {
+ r->unlock_property_changes ();
CheckNewRegion (r);
}