]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL17688
authorapo <apo@opencascade.com>
Fri, 23 Nov 2007 07:37:40 +0000 (07:37 +0000)
committerapo <apo@opencascade.com>
Fri, 23 Nov 2007 07:37:40 +0000 (07:37 +0000)
  TC71: REGR: Preferences - ?Generate data table? works wrong

src/VISU_I/VISU_CutLines_i.cc

index 88d83cd63b7101118e7f60827afa9460410a47ec..16e05f9437983c8b63c73d4b776dc2a55ecbb407 100644 (file)
@@ -141,6 +141,9 @@ VISU::CutLines_i
         const std::string& theFieldName, 
         CORBA::Long theTimeStampNumber)
 {
+  SUIT_ResourceMgr* aResourceMgr = VISU::GetResourceMgr();
+  SetUseAbsoluteLength( aResourceMgr->booleanValue( "VISU", "use_absolute_length", false ) );
+  SetAllCurvesInverted( aResourceMgr->booleanValue( "VISU", "invert_all_curves", false ) );
   return TSuperClass::Create(theMeshName,theEntity,theFieldName,theTimeStampNumber);
 }