From: mpv Date: Mon, 27 Mar 2017 10:11:24 +0000 (+0300) Subject: Fix of the exception of edit field (loaded with a study) X-Git-Tag: V_2.7.0~178 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ee5d4109d3e7a893fb977ba8a237e251cf506c5;p=modules%2Fshaper.git Fix of the exception of edit field (loaded with a study) --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 12ec57391..7188c561e 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -235,6 +236,8 @@ XGUI_Workshop::XGUI_Workshop(XGUI_SalomeConnector* theConnector) ModelAPI_ResultConstruction::DEFAULT_COLOR()); Config_PropManager::registerProp("Visualization", "result_part_color", "Part color", Config_Prop::Color, ModelAPI_ResultPart::DEFAULT_COLOR()); + Config_PropManager::registerProp("Visualization", "result_field_color", "Field color", + Config_Prop::Color, ModelAPI_ResultField::DEFAULT_COLOR()); if (ModuleBase_Preferences::resourceMgr()->booleanValue("Viewer", "face-selection", true)) myViewerSelMode.append(TopAbs_FACE);