Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/AngleMeasureTool.cpp @ 827:2fd96a637a59
Added FusioMpr sample + small dumb changes
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 29 May 2019 13:44:55 +0200 |
parents | e42b491f1fb2 |
children | a29c13497557 |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/AngleMeasureTool.cpp Wed May 29 10:51:28 2019 +0200 +++ b/Framework/Scene2DViewport/AngleMeasureTool.cpp Wed May 29 13:44:55 2019 +0200 @@ -27,13 +27,13 @@ #include <boost/math/constants/constants.hpp> #include <boost/make_shared.hpp> -// <HACK> -// REMOVE THIS -#ifndef NDEBUG -extern void -TrackerSample_SetInfoDisplayMessage(std::string key, std::string value); -#endif -// </HACK> +//// <HACK> +//// REMOVE THIS +//#ifndef NDEBUG +//extern void +//TrackerSample_SetInfoDisplayMessage(std::string key, std::string value); +//#endif +//// </HACK> namespace OrthancStone { @@ -175,6 +175,7 @@ SetTextLayerOutlineProperties( GetScene(), layerHolder_, buf, ScenePoint2D(pointX, pointY)); +#if 0 // TODO:make it togglable bool enableInfoDisplay = false; if (enableInfoDisplay) @@ -224,6 +225,7 @@ TrackerSample_SetInfoDisplayMessage("angleDeg", boost::lexical_cast<std::string>(angleDeg)); } +#endif } } else