From: dish Date: Wed, 12 Jun 2024 14:53:13 +0000 (+0000) Subject: Fix compilation with OCCT 7.8. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b5de04b4145fd6e3a42afea31587458c8f49c59a;p=modules%2Fshaper.git Fix compilation with OCCT 7.8. --- 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 =