mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-04 03:38:01 +08:00
0033312: Data Exchange - NULL-dereference in StepToTopoDS_TranslateShell::Init()
The condition "if" was changed to opposite
This commit is contained in:
@@ -138,7 +138,7 @@ void StepToTopoDS_TranslateShell::Init(const Handle(StepVisual_TessellatedShell)
|
||||
{
|
||||
Handle(TransferBRep_ShapeBinder) aBinder
|
||||
= Handle(TransferBRep_ShapeBinder)::DownCast(aTP->Find(theTSh->TopologicalLink()));
|
||||
if (aBinder.IsNull())
|
||||
if (!aBinder.IsNull())
|
||||
{
|
||||
aSh = aBinder->Shell();
|
||||
theHasGeom = Standard_True;
|
||||
|
||||
Reference in New Issue
Block a user