changeset 1617:49ba862d3454

fix build of mpr sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Oct 2020 17:43:29 +0100
parents 32090b775777
children 9a52bac0c2a7
files Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp OrthancStone/Resources/CMake/OrthancStoneConfiguration.cmake
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Fri Oct 30 17:40:08 2020 +0100
+++ b/Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp	Fri Oct 30 17:43:29 2020 +0100
@@ -1535,8 +1535,6 @@
 
           OrthancStone::OsiriXLayerFactory factory;
           factory.SetColor(0, 255, 0);
-          factory.SetArrowLength(100);
-          factory.SetArrowAngle(3.14159/4.0);
           
           for (std::set<size_t>::const_iterator it = a.begin(); it != a.end(); ++it)
           {
--- a/OrthancStone/Resources/CMake/OrthancStoneConfiguration.cmake	Fri Oct 30 17:40:08 2020 +0100
+++ b/OrthancStone/Resources/CMake/OrthancStoneConfiguration.cmake	Fri Oct 30 17:43:29 2020 +0100
@@ -189,6 +189,8 @@
 
 if (ENABLE_PUGIXML)
   list(APPEND ORTHANC_STONE_SOURCES
+    ${ORTHANC_STONE_ROOT}/Scene2D/OsiriXLayerFactory.cpp
+    ${ORTHANC_STONE_ROOT}/Scene2D/OsiriXLayerFactory.h
     ${ORTHANC_STONE_ROOT}/Toolbox/OsiriX/AngleAnnotation.cpp
     ${ORTHANC_STONE_ROOT}/Toolbox/OsiriX/Annotation.cpp
     ${ORTHANC_STONE_ROOT}/Toolbox/OsiriX/ArrayValue.cpp
@@ -281,8 +283,6 @@
   ${ORTHANC_STONE_ROOT}/Scene2D/MacroSceneLayer.cpp
   ${ORTHANC_STONE_ROOT}/Scene2D/MacroSceneLayer.h
   ${ORTHANC_STONE_ROOT}/Scene2D/NullLayer.h
-  ${ORTHANC_STONE_ROOT}/Scene2D/OsiriXLayerFactory.cpp
-  ${ORTHANC_STONE_ROOT}/Scene2D/OsiriXLayerFactory.h
   ${ORTHANC_STONE_ROOT}/Scene2D/PanSceneTracker.cpp
   ${ORTHANC_STONE_ROOT}/Scene2D/PanSceneTracker.h
   ${ORTHANC_STONE_ROOT}/Scene2D/PointerEvent.cpp