From: epa Date: Thu, 12 Oct 2006 14:24:09 +0000 (+0000) Subject: Incorrect default values of AttributeExpandable, AttributeSelectable, AttributeTextCo... X-Git-Tag: V3_2_3pre1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aa6c9b28850506f76b1c2ede392afc61be2f0ef6;p=modules%2Fkernel.git Incorrect default values of AttributeExpandable, AttributeSelectable, AttributeTextColor and AttributeTextHighlightColor corrected to be the same as in SALOME 2.2.x --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeExpandable.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeExpandable.cxx index 69451c0a0..d0a2df1b2 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeExpandable.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeExpandable.cxx @@ -67,7 +67,7 @@ Handle(SALOMEDSImpl_AttributeExpandable) SALOMEDSImpl_AttributeExpandable::Set ( SALOMEDSImpl_AttributeExpandable::SALOMEDSImpl_AttributeExpandable() :SALOMEDSImpl_GenericAttribute("AttributeExpandable") { - myValue = 0; + myValue = 1; } //======================================================================= diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeSelectable.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeSelectable.cxx index 85cadc8ff..4e1bbc768 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeSelectable.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeSelectable.cxx @@ -68,7 +68,7 @@ Handle(SALOMEDSImpl_AttributeSelectable) SALOMEDSImpl_AttributeSelectable::Set ( SALOMEDSImpl_AttributeSelectable::SALOMEDSImpl_AttributeSelectable() :SALOMEDSImpl_GenericAttribute("AttributeSelectable") { - myValue = 0; + myValue = 1; } //======================================================================= diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextColor.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextColor.cxx index e62e998df..8250ff194 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextColor.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextColor.cxx @@ -49,7 +49,7 @@ const Standard_GUID& SALOMEDSImpl_AttributeTextColor::GetID () SALOMEDSImpl_AttributeTextColor::SALOMEDSImpl_AttributeTextColor() :SALOMEDSImpl_GenericAttribute("AttributeTextColor") { - myValue = new TColStd_HArray1OfReal(1, 3, RealFirst()); + myValue = new TColStd_HArray1OfReal(1, 3, 0.); } //======================================================================= diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextHighlightColor.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextHighlightColor.cxx index 53428e371..cf9449d09 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextHighlightColor.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextHighlightColor.cxx @@ -50,7 +50,7 @@ const Standard_GUID& SALOMEDSImpl_AttributeTextHighlightColor::GetID () SALOMEDSImpl_AttributeTextHighlightColor::SALOMEDSImpl_AttributeTextHighlightColor() :SALOMEDSImpl_GenericAttribute("AttributeTextHighlightColor") { - myValue = new TColStd_HArray1OfReal(1, 3, RealFirst()); + myValue = new TColStd_HArray1OfReal(1, 3, 0.); } //=======================================================================