mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0033312: Data Exchange - NULL-dereference in StepToTopoDS_TranslateShell::Init()
The condition "if" was changed to opposite
This commit is contained in:
parent
107b57a955
commit
fc72568ba9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user