mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0023157: Exception reading STEP file in Debug mode
Unsafe Debug printout was removed.
This commit is contained in:
parent
67263fce53
commit
36f35343b8
@ -761,9 +761,6 @@ Standard_Boolean STEPCAFControl_Reader::ReadColors (const Handle(XSControl_WorkS
|
||||
if ( style != aHSeqOfInvisStyle->Value( si ) )
|
||||
continue;
|
||||
// found that current style is invisible.
|
||||
#ifdef DEB
|
||||
cout << "Warning: item No " << i << "(" << style->Item()->DynamicType()->Name() << ") is invisible" << endl;
|
||||
#endif
|
||||
IsVisible = Standard_False;
|
||||
break;
|
||||
}
|
||||
@ -832,12 +829,8 @@ Standard_Boolean STEPCAFControl_Reader::ReadColors (const Handle(XSControl_WorkS
|
||||
if (isSkipSHUOstyle)
|
||||
continue; // skip styled item which refer to SHUO
|
||||
|
||||
if ( S.IsNull() ) {
|
||||
#ifdef DEB
|
||||
cout << "Warning: item No " << i << "(" << style->Item()->DynamicType()->Name() << ") is not mapped to shape" << endl;
|
||||
#endif
|
||||
if ( S.IsNull() )
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( ! SurfCol.IsNull() ) {
|
||||
Quantity_Color col;
|
||||
|
Loading…
x
Reference in New Issue
Block a user