From e54317399a340c4fa05ff1fa049be10ffedfbed5 Mon Sep 17 00:00:00 2001 From: dmv Date: Mon, 26 Jan 2009 15:44:27 +0000 Subject: [PATCH] IPAL20692 IPAL20700 The visual parameters are not stored in HDF file --- src/SVTK/SVTK_ViewWindow.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 2f29b6336..50cd0b974 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -832,7 +832,8 @@ SVTK_ViewWindow // 76 values for graduated axes, so both numbers are processed. const int nNormalParams = 13; // number of view windows parameters excluding graduated axes params const int nGradAxisParams = 25; // number of parameters of ONE graduated axis (X, Y, or Z) -const int nAllParams = nNormalParams + 3*nGradAxisParams + 1; // number of all visual parameters +const int nTrihedronParams = 3; // number of parameters for Trihedron +const int nAllParams = nNormalParams + 3*nGradAxisParams + nTrihedronParams + 1; // number of all visual parameters /*! The method returns visual parameters of a graduated axis actor (x,y,z axis of graduated axes) */ @@ -1066,13 +1067,13 @@ SVTK_ViewWindow else gradAxesActor->VisibilityOff(); } - - if ( paramsLst[14].toUShort() ) + + if ( paramsLst[90].toUShort() ) GetTrihedron()->VisibilityOn(); else GetTrihedron()->VisibilityOff(); - SetTrihedronSize(paramsLst[15].toDouble()); + SetTrihedronSize(paramsLst[91].toDouble()); } } -- 2.39.2