Salome HOME
Merge remote-tracking branch 'origin/BR_SHAPE_RECOGNITION' into BR_v14_rc
[modules/hydro.git] / src / HYDROData / HYDROData_DummyObject3D.cxx
index d8af281cfbb109eb51f28ef7ae587a925962e707..f4f665b67dcbdf3c250b0a62f315fb42416b9ba8 100644 (file)
@@ -1,3 +1,20 @@
+// Copyright (C) 2014-2015  EDF-R&D
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #include "HYDROData_DummyObject3D.h"
 
@@ -61,7 +78,7 @@ TopoDS_Shape HYDROData_DummyObject3D::GetShape() const
 
 QColor HYDROData_DummyObject3D::GetFillingColor() const
 {
-  QColor aResColor( HYDROData_Object::DefaultFillingColor() );
+  QColor aResColor( Qt::yellow );
 
   Handle(HYDROData_Object) aFatherObj = GetObject();
   if ( !aFatherObj.IsNull() )
@@ -72,7 +89,7 @@ QColor HYDROData_DummyObject3D::GetFillingColor() const
 
 QColor HYDROData_DummyObject3D::GetBorderColor() const
 {
-  QColor aResColor( HYDROData_Object::DefaultBorderColor() );
+  QColor aResColor( Qt::transparent );
 
   Handle(HYDROData_Object) aFatherObj = GetObject();
   if ( !aFatherObj.IsNull() )