1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-07 18:30:55 +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 committed by bugmaster
parent aa75c0cf9d
commit e5d7e24960
2 changed files with 3 additions and 3 deletions

View File

@ -1501,8 +1501,8 @@ Standard_Real AIS_InteractiveContext::HLRAngle() const
//function : SetDisplayMode //function : SetDisplayMode
//purpose : //purpose :
//======================================================================= //=======================================================================
void AIS_InteractiveContext::SetDisplayMode (const AIS_DisplayMode theMode, void AIS_InteractiveContext::SetDisplayMode(const Standard_Integer theMode,
const Standard_Boolean theToUpdateViewer) const Standard_Boolean theToUpdateViewer)
{ {
if (theMode == myDisplayMode) if (theMode == myDisplayMode)
{ {

View File

@ -672,7 +672,7 @@ public:
//! object is displayed but no viewer will be updated. //! object is displayed but no viewer will be updated.
//! Note that display mode 3 is only used if you have an //! Note that display mode 3 is only used if you have an
//! AIS_Textured Shape. //! 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. //! Sets the deviation coefficient aCoefficient.