changeset 1036:d7d3227c11a9

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Oct 2019 15:26:29 +0200
parents 01631b65837c (diff) 839d2bff92ab (current diff)
children 4e713ef78a5a
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Scene2DViewport/MeasureCommands.cpp	Mon Oct 07 15:09:45 2019 +0200
+++ b/Framework/Scene2DViewport/MeasureCommands.cpp	Mon Oct 07 15:26:29 2019 +0200
@@ -71,8 +71,8 @@
 
   DeleteMeasureCommand::DeleteMeasureCommand(boost::shared_ptr<MeasureTool> measureTool, boost::weak_ptr<ViewportController> controllerW)
     : MeasureCommand(controllerW)
+    , mementoOriginal_(measureTool->GetMemento())
     , measureTool_(measureTool)
-    , mementoOriginal_(measureTool->GetMemento())
     , mementoModified_(measureTool->GetMemento())
   {
     GetMeasureTool()->Disable();