-// Copyright (C) 2014-2020 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
std::shared_ptr<ModelAPI_Document> myDoc; ///< document this object belongs to
public:
#ifdef DEBUG_NAMES
- std::string myName; // name of this object
+ std::wstring myName; // name of this object
#endif
/// By default object is displayed in the object browser.
MODELAPI_EXPORT virtual bool isInHistory();
/// 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