]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Displayer.cpp
Salome HOME
Selection correction for "objects" type defined in XML. It is not possible to use...
[modules/shaper.git] / src / XGUI / XGUI_Displayer.cpp
index b35bd80c8a5ae4e00a3ab473ae18c0e7a4cb3cea..e2c7460f6749ec23856c2614078ee7a50f662097 100644 (file)
@@ -447,8 +447,8 @@ void XGUI_Displayer::getModesOfActivation(ObjectPtr theObject, QIntList& theMode
 
 int XGUI_Displayer::getSelectionMode(int theShapeType)
 {
-  return (theShapeType >= TopAbs_SHAPE)? theShapeType : 
-    AIS_Shape::SelectionMode((TopAbs_ShapeEnum)theShapeType);
+  return (theShapeType > TopAbs_SHAPE) ? theShapeType : 
+                                         AIS_Shape::SelectionMode((TopAbs_ShapeEnum)theShapeType);
 }
 
 bool XGUI_Displayer::isVisible(XGUI_Displayer* theDisplayer, const ObjectPtr& theObject)