-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021 CEA/DEN, 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
: myWorkshop(theWorkshop),
myUpdatePrefs(false)
{
- XGUI_OperationMgr* anOperationMgr = workshop()->operationMgr();
}
//******************************************************
!anObject->isDisplayed();
if (!aHide) { // check that this is not hidden result
ResultPtr aRes = std::dynamic_pointer_cast<ModelAPI_Result>(anObject);
- bool isConcealed = aRes && aRes->isConcealed();
aHide = aRes && aRes->isConcealed();
// Hide the presentation with an empty shape. But isDisplayed state of the object should not
// be changed to the object becomes visible when the shape becomes not empty
}
}
- bool isCustomized = customizeFeature(anObjects, aDisplayed);
+ MAYBE_UNUSED bool isCustomized = customizeFeature(anObjects, aDisplayed);
//if (myObjectBrowser)
// myObjectBrowser->processEvent(theMsg);
return aDisplayed;
XGUI_Displayer* aDisplayer = aWorkshop->displayer();
- int aNb = aDisplayer->objectsCount();
return aDisplayer->display(theObj, false);
}