-// Copyright (C) 2014-2019 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
/// if forced redisplay is false
/// \param theForceRedisplay a flag to customize object even always
/// \return true if the object is modified
- bool customizeCurrentObject(const std::set<ObjectPtr>& theObjects, bool theForceRedisplay);
+ bool customizeFeature(const std::set<ObjectPtr>& theObjects, bool theForceRedisplay);
/// Returns the workshop
XGUI_Workshop* workshop() const;
private:
+
+ void setDisplayed(ObjectPtr theObject, const bool theIsLoadedScript, bool& theDisplayed);
+
XGUI_Workshop* myWorkshop; // the current workshop
bool myUpdatePrefs;