# HG changeset patch # User Sebastien Jodogne # Date 1778242562 -7200 # Node ID 35311e0043cf142767cf23e60c87f6cc63a70606 # Parent 1e5f8c61fe9368397dde837fdc8a75435b1b094c fix broken dicomization of Nexus files diff -r 1e5f8c61fe93 -r 35311e0043cf NEWS --- a/NEWS Fri May 08 13:59:17 2026 +0200 +++ b/NEWS Fri May 08 14:16:02 2026 +0200 @@ -2,6 +2,12 @@ =============================== +Version 1.4 (2026-05-08) +======================== + +* Fix DICOM-ization of Nexus files, which was broken in release 1.3 + + Version 1.3 (2025-10-10) ======================== diff -r 1e5f8c61fe93 -r 35311e0043cf Sources/OrthancExplorer.js --- a/Sources/OrthancExplorer.js Fri May 08 13:59:17 2026 +0200 +++ b/Sources/OrthancExplorer.js Fri May 08 14:16:02 2026 +0200 @@ -498,7 +498,8 @@ success: function(creatorVersionUid) { if (creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE}' || creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_1}' || - creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_2}') { + creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_2}' || + creatorVersionUid == '${ORTHANC_STL_CREATOR_VERSION_UID_1_4}') { var b = $('') .attr('id', id) .attr('data-role', 'button') diff -r 1e5f8c61fe93 -r 35311e0043cf Sources/Plugin.cpp --- a/Sources/Plugin.cpp Fri May 08 13:59:17 2026 +0200 +++ b/Sources/Plugin.cpp Fri May 08 14:16:02 2026 +0200 @@ -77,6 +77,7 @@ static const char* const ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE = "1.2.826.0.1.3680043.8.498.90514926286349109728701975613711986292"; static const char* const ORTHANC_STL_CREATOR_VERSION_UID_1_1 = "1.2.826.0.1.3680043.8.498.13468660186379895313063577332103681503"; static const char* const ORTHANC_STL_CREATOR_VERSION_UID_1_2 = "1.2.826.0.1.3680043.8.498.69380801008493335183088431949117714013"; +static const char* const ORTHANC_STL_CREATOR_VERSION_UID_1_4 = "1.2.826.0.1.3680043.8.498.94832241734526878947034468485882549546"; static const char* const GetCreatorVersionUid(const std::string& version) { @@ -92,9 +93,14 @@ { return ORTHANC_STL_CREATOR_VERSION_UID_1_2; } + else if (version == "1.4") + { + return ORTHANC_STL_CREATOR_VERSION_UID_1_4; + } else { - throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); + throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, + "Broken support for Nexus in release " + std::string(version) + " of the STL plugin"); } } @@ -103,6 +109,7 @@ dictionary["ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE"] = ORTHANC_STL_CREATOR_VERSION_UID_MAINLINE; dictionary["ORTHANC_STL_CREATOR_VERSION_UID_1_1"] = ORTHANC_STL_CREATOR_VERSION_UID_1_1; dictionary["ORTHANC_STL_CREATOR_VERSION_UID_1_2"] = ORTHANC_STL_CREATOR_VERSION_UID_1_2; + dictionary["ORTHANC_STL_CREATOR_VERSION_UID_1_4"] = ORTHANC_STL_CREATOR_VERSION_UID_1_4; } #endif