diff --git a/src/AIS/AIS_InteractiveContext.cxx b/src/AIS/AIS_InteractiveContext.cxx index 0d4f39e4e5..6400689f8b 100644 --- a/src/AIS/AIS_InteractiveContext.cxx +++ b/src/AIS/AIS_InteractiveContext.cxx @@ -1501,8 +1501,8 @@ Standard_Real AIS_InteractiveContext::HLRAngle() const //function : SetDisplayMode //purpose : //======================================================================= -void AIS_InteractiveContext::SetDisplayMode (const AIS_DisplayMode theMode, - const Standard_Boolean theToUpdateViewer) +void AIS_InteractiveContext::SetDisplayMode(const Standard_Integer theMode, + const Standard_Boolean theToUpdateViewer) { if (theMode == myDisplayMode) { diff --git a/src/AIS/AIS_InteractiveContext.hxx b/src/AIS/AIS_InteractiveContext.hxx index 4643ec9648..73a2446cef 100644 --- a/src/AIS/AIS_InteractiveContext.hxx +++ b/src/AIS/AIS_InteractiveContext.hxx @@ -672,7 +672,7 @@ public: //! object is displayed but no viewer will be updated. //! Note that display mode 3 is only used if you have an //! AIS_Textured Shape. - Standard_EXPORT void SetDisplayMode (const AIS_DisplayMode AMode, const Standard_Boolean updateviewer = Standard_True); + Standard_EXPORT void SetDisplayMode (const Standard_Integer AMode, const Standard_Boolean updateviewer = Standard_True); //! Sets the deviation coefficient aCoefficient.