diff Samples/Sdl/TrackerSampleApp.h @ 722:28b9e3a54200

Undo mechanism implemented (not connected to UI yet). Undo stack and measuring tools are now handled by the ViewportController. Multi-touch does not crash trackers anymore.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 21 May 2019 10:27:54 +0200
parents 059e1fd05fd6
children 4d69256d2a46
line wrap: on
line diff
--- a/Samples/Sdl/TrackerSampleApp.h	Mon May 20 12:49:29 2019 +0200
+++ b/Samples/Sdl/TrackerSampleApp.h	Tue May 21 10:27:54 2019 +0200
@@ -114,14 +114,9 @@
 
     std::map<std::string, std::string> infoTextMap_;
     FlexiblePointerTrackerPtr activeTracker_;
-    std::vector<TrackerCommandPtr> undoStack_;
-
-    // we store the measure tools here so that they don't get deleted
-    std::vector<MeasureToolPtr> measureTools_;
 
     //static const int LAYER_POSITION = 150;
 
-
     int TEXTURE_2x2_1_ZINDEX;
     int TEXTURE_1x1_ZINDEX;
     int TEXTURE_2x2_2_ZINDEX;