From f0d37bbee8cac340111ca3389c821e6ca0a04c0d Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 29 Nov 2017 15:22:31 +0300 Subject: [PATCH] Remove eye icon for parameters --- src/XGUI/XGUI_DataModel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/XGUI/XGUI_DataModel.cpp b/src/XGUI/XGUI_DataModel.cpp index 746b33e03..6efc56250 100644 --- a/src/XGUI/XGUI_DataModel.cpp +++ b/src/XGUI/XGUI_DataModel.cpp @@ -1089,6 +1089,8 @@ XGUI_DataModel::VisibilityState ObjectPtr aObj = object(theIndex); if (aObj.get()) { + if (aObj->groupName() == ModelAPI_ResultParameter::group()) + return NoneState; ResultPtr aResObj = std::dynamic_pointer_cast(aObj); if (aResObj.get()) { XGUI_Displayer* aDisplayer = myWorkshop->displayer(); -- 2.39.2