From 68dccf8d7a7eca8a50813e1392426a54a41d4a20 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 21 Sep 2005 12:27:44 +0000 Subject: [PATCH] Do not mark document as Modified on IOR attribute setting --- src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx | 2 +- src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx index bf9599366..ab6b6f11c 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx @@ -63,7 +63,7 @@ void SALOMEDSImpl_AttributeIOR::SetValue(const TCollection_ExtendedString& theVa SALOMEDSImpl_Study::IORUpdated(this); - SetModifyFlag(); //SRN: Mark the study as being modified, so it could be saved + //SetModifyFlag(); //SRN: Mark the study as being modified, so it could be saved } //======================================================================= diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx index c2f21e3e5..5f782eb33 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx @@ -102,7 +102,7 @@ bool SALOMEDSImpl_StudyBuilder::DefineComponentInstance(const Handle(SALOMEDSImp //add IOR definition SALOMEDSImpl_AttributeIOR::Set(aComponent->GetLabel(), IOR); - _doc->Modify(); + //_doc->Modify(); return true; } -- 2.39.2