1
0
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:
VRO 2012-02-22 07:49:21 +00:00 committed by bugmaster
parent bcb0fd4396
commit 87893dfde3

View File

@ -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();