mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
static char THIS_FILE[]=__FILE__;
|
||||
#endif
|
||||
|
||||
IMPLEMENT_STANDARD_HANDLE(ISession_Direction,AIS_InteractiveObject)
|
||||
IMPLEMENT_STANDARD_RTTIEXT(ISession_Direction,AIS_InteractiveObject)
|
||||
|
||||
#include "DsgPrs_LengthPresentation.hxx"
|
||||
|
@@ -24,7 +24,7 @@ public:
|
||||
ISession_Direction(const gp_Pnt& aPnt,const gp_Pnt& aPnt2);
|
||||
ISession_Direction(const gp_Pnt& aPnt,const gp_Vec& aVec);
|
||||
|
||||
DEFINE_STANDARD_RTTI(ISession_Direction,AIS_InteractiveObject)
|
||||
DEFINE_STANDARD_RTTIEXT(ISession_Direction,AIS_InteractiveObject)
|
||||
|
||||
private:
|
||||
|
||||
|
@@ -4721,7 +4721,7 @@ void CModelingDoc::OnStopStop()
|
||||
MessageBoxW (AfxGetApp()->m_pMainWnd->m_hWnd, L"Error : The plate face is not valid!", L"CasCade Error", MB_ICONERROR);
|
||||
myAISContext->CloseLocalContext();
|
||||
myState = -1;
|
||||
Handle_AIS_Shape anAISShape = new AIS_Shape(aface);
|
||||
Handle(AIS_Shape) anAISShape = new AIS_Shape(aface);
|
||||
myAISContext->SetColor(anAISShape,Quantity_NOC_AZURE);
|
||||
myAISContext->SetMaterial(anAISShape,Graphic3d_NOM_SILVER);
|
||||
myAISContext->SetDisplayMode(anAISShape,1);
|
||||
@@ -5017,7 +5017,7 @@ void CModelingDoc::InputEvent(const Standard_Integer /*x*/,
|
||||
MessageBoxW (AfxGetApp()->m_pMainWnd->m_hWnd, L"Error : The plate surface is not valid!!!", L"CasCade Error", MB_ICONERROR);
|
||||
}
|
||||
|
||||
Handle_AIS_Shape anAISShape=new AIS_Shape(theFace);
|
||||
Handle(AIS_Shape) anAISShape=new AIS_Shape(theFace);
|
||||
myAISContext->SetColor(anAISShape,Quantity_NOC_BLUE1);
|
||||
myAISContext->SetMaterial(anAISShape,Graphic3d_NOM_SILVER);
|
||||
myAISContext->SetDisplayMode(anAISShape,1);
|
||||
|
Reference in New Issue
Block a user