mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0028332: Unstable tests in group gdt export
Add initialization of variable GDTMode in STEP writer.
This commit is contained in:
parent
6ca8b6144b
commit
5b83cdb642
@ -275,7 +275,7 @@ STEPCAFControl_Writer::STEPCAFControl_Writer () :
|
||||
myLayerMode( Standard_True ),
|
||||
myPropsMode( Standard_True ),
|
||||
mySHUOMode ( Standard_True ),
|
||||
myDGTMode ( Standard_True ),
|
||||
myGDTMode ( Standard_True ),
|
||||
myMatMode ( Standard_True )
|
||||
{
|
||||
STEPCAFControl_Controller::Init();
|
||||
@ -290,15 +290,17 @@ STEPCAFControl_Writer::STEPCAFControl_Writer () :
|
||||
//=======================================================================
|
||||
|
||||
STEPCAFControl_Writer::STEPCAFControl_Writer (const Handle(XSControl_WorkSession)& WS,
|
||||
const Standard_Boolean scratch)
|
||||
const Standard_Boolean scratch) :
|
||||
myColorMode(Standard_True),
|
||||
myNameMode(Standard_True),
|
||||
myLayerMode(Standard_True),
|
||||
myPropsMode(Standard_True),
|
||||
mySHUOMode(Standard_True),
|
||||
myGDTMode(Standard_True),
|
||||
myMatMode(Standard_True)
|
||||
{
|
||||
STEPCAFControl_Controller::Init();
|
||||
Init ( WS, scratch );
|
||||
myColorMode = Standard_True;
|
||||
myNameMode = Standard_True;
|
||||
myLayerMode = Standard_True;
|
||||
myPropsMode = Standard_True;
|
||||
mySHUOMode = Standard_True;
|
||||
}
|
||||
|
||||
|
||||
@ -4269,7 +4271,7 @@ Standard_Boolean STEPCAFControl_Writer::GetSHUOMode () const
|
||||
|
||||
void STEPCAFControl_Writer::SetDimTolMode(const Standard_Boolean dimtolmode)
|
||||
{
|
||||
myDGTMode = dimtolmode;
|
||||
myGDTMode = dimtolmode;
|
||||
}
|
||||
|
||||
|
||||
@ -4280,7 +4282,7 @@ void STEPCAFControl_Writer::SetDimTolMode(const Standard_Boolean dimtolmode)
|
||||
|
||||
Standard_Boolean STEPCAFControl_Writer::GetDimTolMode() const
|
||||
{
|
||||
return myDGTMode;
|
||||
return myGDTMode;
|
||||
}
|
||||
|
||||
|
||||
|
@ -231,7 +231,7 @@ private:
|
||||
Standard_Boolean myPropsMode;
|
||||
Standard_Boolean mySHUOMode;
|
||||
MoniTool_DataMapOfShapeTransient myMapCompMDGPR;
|
||||
Standard_Boolean myDGTMode;
|
||||
Standard_Boolean myGDTMode;
|
||||
Standard_Boolean myMatMode;
|
||||
NCollection_Vector<Handle(StepRepr_RepresentationItem)> myGDTAnnotations;
|
||||
Handle(StepVisual_DraughtingModel) myGDTPresentationDM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user