]> OCCT Git - occt-copy.git/commitdiff
0027815: Visualization, TKV3d - AIS_InteractiveContext has inconsistent display mode API
authorsan <san@opencascade.com>
Fri, 26 Aug 2016 16:04:23 +0000 (19:04 +0300)
committersan <san@opencascade.com>
Fri, 26 Aug 2016 16:04:23 +0000 (19:04 +0300)
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_InteractiveContext.hxx

index 0d4f39e4e565355dab73d10d31e9d0c320c1705e..6400689f8be3b1ee420f1750545322883e009f97 100644 (file)
@@ -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)
   {
index 1aa68e1ccd4e107690ed8710caad01dd63110c12..84eee89aa581a546117f2e90fcb5838e17de1ce8 100644 (file)
@@ -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.