X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FmanualContour%2FmanualContourModel.cpp;h=9744ed09929f34e83c7f4db8c4ad789d1f6a6822;hb=ca35b13e046343c8b50cbd6b833828b06c9d1608;hp=7f4d128eb4135f35993b2db96c426b0c3eef1de8;hpb=e263b7ace0f53d647a731553a3f67700838ad146;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp index 7f4d128..9744ed0 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp @@ -51,7 +51,6 @@ manualContourModel::manualContourModel() //--------------------------------------------------------------------------------------------------------------- //CMRU 17-08-09 ------------------------------------------------------------------------------------------------- _realSize = 0.0; - _label = ""; //--------------------------------------------------------------------------------------------------------------- } @@ -671,9 +670,11 @@ void manualContourModel::SaveData(FILE *ff) { std::string etiqueta = GetLabel(); if(etiqueta.empty()) + { fprintf(ff,"Label: NO_LABEL\n"); - else + } else { fprintf(ff,"Label: %s\n",etiqueta.c_str()); + } // if etiqueta fprintf(ff,"Real_Size: %f\n",GetRealSize()); } @@ -686,8 +687,9 @@ void manualContourModel::OpenData(FILE *ff) std::cout<