mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0022943: Bug TDataXtd_PatternStd
This commit is contained in:
parent
bcb0fd4396
commit
87893dfde3
@ -188,8 +188,8 @@ void TDataXtd_PatternStd::NbInstances1(const Handle(TDataStd_Integer)& NbInstanc
|
||||
void TDataXtd_PatternStd::NbInstances2(const Handle(TDataStd_Integer)& NbInstances2)
|
||||
{
|
||||
// OCC2932 correction
|
||||
if(!myNb1.IsNull())
|
||||
if(myNb1->Get() == NbInstances2->Get())
|
||||
if(!myNb2.IsNull())
|
||||
if(myNb2->Get() == NbInstances2->Get())
|
||||
return;
|
||||
|
||||
Backup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user