mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0022800: OSD::SetSignal(Standard_True) is not called in the standard samples
This commit is contained in:
parent
329843e245
commit
2b442de5ec
@ -9,6 +9,7 @@
|
||||
#include <res\OCC_Resource.h>
|
||||
|
||||
#include <Standard_Version.hxx>
|
||||
#include <OSD.hxx>
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// OCC_BaseApp
|
||||
@ -29,6 +30,7 @@ END_MESSAGE_MAP()
|
||||
|
||||
OCC_BaseApp::OCC_BaseApp()
|
||||
{
|
||||
OSD::SetSignal(Standard_True);
|
||||
SampleName = "";
|
||||
SetSamplePath(NULL);
|
||||
}
|
||||
|
@ -1,8 +1,6 @@
|
||||
// File: BRep_Tool.cxx
|
||||
// Created: Wed Jul 7 15:35:57 1993
|
||||
// Author: Remi LEQUETTE
|
||||
// <rle@phylox>
|
||||
|
||||
|
||||
#include <BRep_Tool.ixx>
|
||||
#include <BRep_TFace.hxx>
|
||||
@ -128,8 +126,7 @@ Standard_Boolean BRep_Tool::NaturalRestriction(const TopoDS_Face& F)
|
||||
// In <First> and <Last> the parameter range.
|
||||
//=======================================================================
|
||||
|
||||
static Handle(Geom_Curve) nullCurve;
|
||||
static Handle(Poly_Polygon3D) nullPolygon3D;
|
||||
static const Handle(Geom_Curve) nullCurve;
|
||||
|
||||
const Handle(Geom_Curve)& BRep_Tool::Curve(const TopoDS_Edge& E,
|
||||
TopLoc_Location& L,
|
||||
@ -210,6 +207,8 @@ Standard_Boolean BRep_Tool::IsGeometric(const TopoDS_Edge& E)
|
||||
// handle. Returns in <L> the location for the polygon.
|
||||
//=======================================================================
|
||||
|
||||
static const Handle(Poly_Polygon3D) nullPolygon3D;
|
||||
|
||||
const Handle(Poly_Polygon3D)& BRep_Tool::Polygon3D(const TopoDS_Edge& E,
|
||||
TopLoc_Location& L)
|
||||
{
|
||||
@ -264,7 +263,7 @@ Handle(Geom2d_Curve) BRep_Tool::CurveOnSurface(const TopoDS_Edge& E,
|
||||
// <First> and <Last> the parameter range.
|
||||
//=======================================================================
|
||||
|
||||
static Handle(Geom2d_Curve) nullPCurve;
|
||||
static const Handle(Geom2d_Curve) nullPCurve;
|
||||
|
||||
Handle(Geom2d_Curve) BRep_Tool::CurveOnSurface(const TopoDS_Edge& E,
|
||||
const Handle(Geom_Surface)& S,
|
||||
@ -292,7 +291,6 @@ Handle(Geom2d_Curve) BRep_Tool::CurveOnSurface(const TopoDS_Edge& E,
|
||||
itcr.Next();
|
||||
}
|
||||
|
||||
|
||||
// for planar surface and 3d curve try a projection
|
||||
// modif 21-05-97 : for RectangularTrimmedSurface, try a projection
|
||||
Handle(Geom_Plane) GP;
|
||||
@ -469,7 +467,7 @@ Handle(Poly_Polygon2D) BRep_Tool::PolygonOnSurface(const TopoDS_Edge& E,
|
||||
// handle if this polygon does not exist.
|
||||
//=======================================================================
|
||||
|
||||
static Handle(Poly_Polygon2D) nullPolygon2D;
|
||||
static const Handle(Poly_Polygon2D) nullPolygon2D;
|
||||
|
||||
Handle(Poly_Polygon2D)
|
||||
BRep_Tool::PolygonOnSurface(const TopoDS_Edge& E,
|
||||
@ -575,7 +573,7 @@ void BRep_Tool::PolygonOnSurface(const TopoDS_Edge& E,
|
||||
// handle if this polygon does not exist.
|
||||
//=======================================================================
|
||||
|
||||
static Handle(Poly_PolygonOnTriangulation) nullArray;
|
||||
static const Handle(Poly_PolygonOnTriangulation) nullArray;
|
||||
|
||||
const Handle(Poly_PolygonOnTriangulation)&
|
||||
BRep_Tool::PolygonOnTriangulation(const TopoDS_Edge& E,
|
||||
|
@ -242,7 +242,6 @@ void SelectMgr_SelectableObject::HilightSelected
|
||||
//=======================================================================
|
||||
void SelectMgr_SelectableObject::ClearSelected ()
|
||||
{
|
||||
//Standard_NotImplemented::Raise ("SelectMgr_SelectableObject::HilightOwnerWithColor");
|
||||
if( !mySelectionPrs.IsNull() )
|
||||
mySelectionPrs->Clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user