- } else if (n->name() == "RegionCommand") {
- PBD::ID id (n->property ("region")->value());
- boost::shared_ptr<Region> region = RegionFactory::region_by_id (id);
-
- if (region) {
- ut->add_command (new RegionCommand (region, *n));
- } else {
- error << string_compose (_("Region command references an unknown region ID=%1"), id.to_s()) << endmsg;
- }
-