1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0027815: Visualization, TKV3d - AIS_InteractiveContext has inconsistent display mode API

This commit is contained in:
san
2016-08-26 19:04:23 +03:00
parent 0d65441e56
commit 069841b702
2 changed files with 3 additions and 3 deletions

View 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)
{

View 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.