]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_DataModel.cpp
Salome HOME
Issue #2355 hide all faces then show solid problem
[modules/shaper.git] / src / XGUI / XGUI_DataModel.cpp
index d428a2c501986816457ec569efff57f10207b880..baf49e20b1b0b40ee3618ac2cb2208b12a1795d1 100644 (file)
@@ -1059,6 +1059,12 @@ QModelIndex XGUI_DataModel::lastHistoryIndex() const
   }
 }
 
+//******************************************************
+bool XGUI_DataModel::hasHiddenState(const QModelIndex& theIndex)
+{
+  return getVisibilityState(theIndex) == Hidden;
+}
+
 //******************************************************
 int XGUI_DataModel::folderId(std::string theType, ModelAPI_Document* theDoc) const
 {