changeset 2226:a4dde0f408e4 single-point

Further single-point API updates
author Chris Cannam
date Tue, 19 Mar 2019 13:07:20 +0000
parents 1c1a908aeb6a
children fb61330c4294
files main/MainWindow.cpp repoint-lock.json
diffstat 2 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Mar 15 14:29:22 2019 +0000
+++ b/main/MainWindow.cpp	Tue Mar 19 13:07:20 2019 +0000
@@ -4653,11 +4653,8 @@
             SparseTimeValueModel *tvm =
                 dynamic_cast<SparseTimeValueModel *>(model);
             if (tvm) {
-                SparseTimeValueModel::Point point(frame,
-                                                  float(ev.getPitch() % 12),
-                                                  "");
-                SparseTimeValueModel::AddPointCommand *command =
-                    new SparseTimeValueModel::AddPointCommand
+                Event point(frame, float(ev.getPitch() % 12), "");
+                AddEventCommand *command = new AddEventCommand
                     (tvm, point, tr("Add Point"));
                 CommandHistory::getInstance()->addCommand(command);
             }
--- a/repoint-lock.json	Fri Mar 15 14:29:22 2019 +0000
+++ b/repoint-lock.json	Tue Mar 19 13:07:20 2019 +0000
@@ -4,13 +4,13 @@
       "pin": "b650289c47b4"
     },
     "svcore": {
-      "pin": "1cc9a0d4b1b6"
+      "pin": "08bed13d3a26"
     },
     "svgui": {
-      "pin": "c9fa16e41664"
+      "pin": "8a7c82282fbc"
     },
     "svapp": {
-      "pin": "eec0c50bb44f"
+      "pin": "284cb118368e"
     },
     "checker": {
       "pin": "5c60e26e16ca"