Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / ModelAPI_Object.h
index 72e9a7b4a32c77181887deae58a6d5ef4fe65d7a..46c3f34f86373d2c2e39a169b6538ae3a842dcab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -100,6 +100,11 @@ class ModelAPI_Object: public ModelAPI_Entity
   /// signal.
   MODELAPI_EXPORT virtual void setDisplayed(const bool theDisplay);
 
+  MODELAPI_EXPORT virtual bool hasTexture()
+  {
+    return false;
+  }
+
  protected:
   /// This method is called just after creation of the object: it must initialize
   /// all fields, normally initialized in the constructor