diff layer/RegionLayer.cpp @ 1429:8a7c82282fbc single-point

Update TimeValueLayer etc
author Chris Cannam
date Tue, 19 Mar 2019 13:06:35 +0000
parents c9fa16e41664
children 5b9692768beb
line wrap: on
line diff
--- a/layer/RegionLayer.cpp	Fri Mar 15 14:24:22 2019 +0000
+++ b/layer/RegionLayer.cpp	Tue Mar 19 13:06:35 2019 +0000
@@ -1380,12 +1380,10 @@
     for (EventVector::iterator i = points.begin();
          i != points.end(); ++i) {
 
-        if (s.contains(i->getFrame())) {
-            Event newPoint = (*i)
-                .withFrame(i->getFrame() + newStartFrame - s.getStartFrame());
-            command->remove(*i);
-            command->add(newPoint);
-        }
+        Event newPoint = (*i)
+            .withFrame(i->getFrame() + newStartFrame - s.getStartFrame());
+        command->remove(*i);
+        command->add(newPoint);
     }
 
     finish(command);