From fb287efdac3023309eb651191f1f27295e36656b Mon Sep 17 00:00:00 2001 From: Mathilde Merle Date: Wed, 8 Jan 2025 11:34:20 +0100 Subject: [PATCH 1/2] [4.0.7] polygonroi shift-click + remove contour --- CMakeLists.txt | 2 +- RELEASE_NOTES.txt | 5 +++++ packaging/apple/settings.json | 2 +- .../polygonRoi/toolboxes/polygonRoiToolBox.cpp | 2 +- .../polygonRoi/viewevent/baseViewEvent.cpp | 16 +++++++++++++++- .../polygonRoi/viewevent/defaultViewEvent.cpp | 4 +++- 6 files changed, 26 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db2ccb3cce..e861d4e0c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ endif() cmake_policy(SET CMP0074 NEW) if(NOT DEFINED ${MEDINRIA_SUPERBUILD_VERSION}) - set(MEDINRIA_SUPERBUILD_VERSION 4.0.6) + set(MEDINRIA_SUPERBUILD_VERSION 4.0.7) endif() SET(CMAKE_CXX_STANDARD 17) diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 96a507fbda..6b1c85531e 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -1,3 +1,8 @@ +MUSICardio 4.0.7: +- PolygonROI: + * fix drawing a contour with shift-click to be able to change zoom/contrast with click. + * fix removing a last contour/node which reset the label tool and allow to draw again. + MUSICardio 4.0.6: - Debug import of Carto .zip archives and .mesh files. - PolygonROI: remove shift-click to draw, fix contrast after deactivation of repulsor and hide deactivated widgets. diff --git a/packaging/apple/settings.json b/packaging/apple/settings.json index 9f5bea1fcd..4d5203c3a8 100644 --- a/packaging/apple/settings.json +++ b/packaging/apple/settings.json @@ -7,7 +7,7 @@ "window": { "position": { "x": 100, "y": 100 }, "size": { "width": 640, "height": 300 } }, "contents": [ - { "x": 140, "y": 165, "type": "file", "path": "/Volumes/MUSICardio 4.0.6/MUSICardio.app" }, + { "x": 140, "y": 165, "type": "file", "path": "/Volumes/MUSICardio 4.0.7/MUSICardio.app" }, { "x": 480, "y": 165, "type": "link", "path": "/Applications" } ] } diff --git a/src/plugins/legacy/polygonRoi/toolboxes/polygonRoiToolBox.cpp b/src/plugins/legacy/polygonRoi/toolboxes/polygonRoiToolBox.cpp index 3ee5b22713..dccbed3fe4 100644 --- a/src/plugins/legacy/polygonRoi/toolboxes/polygonRoiToolBox.cpp +++ b/src/plugins/legacy/polygonRoi/toolboxes/polygonRoiToolBox.cpp @@ -608,7 +608,7 @@ void polygonRoiToolBox::showHelp() const QString main = QString("

Main features

") + QString("