From b5de04b4145fd6e3a42afea31587458c8f49c59a Mon Sep 17 00:00:00 2001 From: dish Date: Wed, 12 Jun 2024 14:53:13 +0000 Subject: [PATCH] Fix compilation with OCCT 7.8. --- src/Model/Model_Objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 7fc1ba3c1..d7d6190d5 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -800,7 +800,7 @@ void Model_Objects::setAttribute(const Handle(TDF_Attribute)& theAttribute, aResultLabel = resultLabel(theResult->data(), index(theResult)); TDF_Label anAttributeLabel = subShapeLabel(aResultLabel, index(theResult, theShape)).FindChild(TAG_FEATURE_ARGUMENTS); - if (Standard_GUID::IsEqual(theAttribute->ID(), TDataStd_IntegerArray::GetID())) + if (theAttribute->ID() == TDataStd_IntegerArray::GetID()) { Handle(TDataStd_IntegerArray) anColor; Handle(TDataStd_IntegerArray) anAttr = -- 2.39.2