]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Incorrect default values of AttributeExpandable, AttributeSelectable, AttributeTextCo...
authorepa <epa@opencascade.com>
Thu, 12 Oct 2006 14:24:09 +0000 (14:24 +0000)
committerepa <epa@opencascade.com>
Thu, 12 Oct 2006 14:24:09 +0000 (14:24 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_AttributeExpandable.cxx
src/SALOMEDSImpl/SALOMEDSImpl_AttributeSelectable.cxx
src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextColor.cxx
src/SALOMEDSImpl/SALOMEDSImpl_AttributeTextHighlightColor.cxx

index 69451c0a02b3b66e09a01e6b06974a8d60cdb04d..d0a2df1b21c226ea69751570e528e2ba1279b7fc 100644 (file)
@@ -67,7 +67,7 @@ Handle(SALOMEDSImpl_AttributeExpandable) SALOMEDSImpl_AttributeExpandable::Set (
 SALOMEDSImpl_AttributeExpandable::SALOMEDSImpl_AttributeExpandable()
 :SALOMEDSImpl_GenericAttribute("AttributeExpandable")
 {
-  myValue = 0;
+  myValue = 1;
 }
 
 //=======================================================================
index 85cadc8ff86127fa83909361e490de506c8faae7..4e1bbc768b09a3bffc3189c686a7facbcc7bef51 100644 (file)
@@ -68,7 +68,7 @@ Handle(SALOMEDSImpl_AttributeSelectable) SALOMEDSImpl_AttributeSelectable::Set (
 SALOMEDSImpl_AttributeSelectable::SALOMEDSImpl_AttributeSelectable()
 :SALOMEDSImpl_GenericAttribute("AttributeSelectable")
 {
-  myValue = 0;
+  myValue = 1;
 }
 
 //=======================================================================
index e62e998df5a4313e9152238e7cff301a988f6b90..8250ff194d890500613be8e364c708c048d66d00 100644 (file)
@@ -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.);
 }
 
 //=======================================================================
index 53428e3714d4d2f552fbbbccdbf34870dc5bb803..cf9449d09e6c408380935f4dc59e2e09954a7519 100644 (file)
@@ -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.);
 }
 
 //=======================================================================