View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002844 | ardour | bugs | public | 2009-09-05 05:59 | 2020-04-19 20:14 |
| Reporter | olaf | Assigned To | cth103 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0002844: position of reversed region get 0 | ||||
| Description | when you reverse a region it will loose its position an will be pushed to position 0. the newly created region gets not position pointer set! the following patch will help: | ||||
| Additional Information | Index: filter.cc =================================================================== --- filter.cc (Revision 5608) +++ filter.cc (Arbeitskopie) @@ -118,9 +118,10 @@ region_name = session.new_region_name (region->name()); } results.clear (); - results.push_back (RegionFactory::create (nsrcs, 0, region->length(), region_name, 0, - Region::Flag (Region::WholeFile|Region::DefaultFlags))); - + boost::shared_ptr<Region> nr = RegionFactory::create (nsrcs, 0, region->length(), region_name, 0, + Region::Flag (Region::WholeFile|Region::DefaultFlags)); + nr->set_position (region->position(),0); + results.push_back (nr); return 0; } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-09-05 05:59 | olaf | New Issue | |
| 2009-09-09 15:01 | cth103 | cost | => 0.00 |
| 2009-09-09 15:01 | cth103 | Note Added: 0006651 | |
| 2009-09-09 15:01 | cth103 | Status | new => resolved |
| 2009-09-09 15:01 | cth103 | Resolution | open => fixed |
| 2009-09-09 15:01 | cth103 | Assigned To | => cth103 |
| 2020-04-19 20:14 | system | Note Added: 0021986 | |
| 2020-04-19 20:14 | system | Status | resolved => closed |