View Issue Details

IDProjectCategoryView StatusLast Update
0002844ardourbugspublic2020-04-19 20:14
Reporterolaf Assigned Tocth103  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0002844: position of reversed region get 0
Descriptionwhen 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 InformationIndex: 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;
 }
 
TagsNo tags attached.

Activities

cth103

2009-09-09 15:01

administrator   ~0006651

Applied to 3.0 SVN. Thanks!

system

2020-04-19 20:14

developer   ~0021986

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

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