]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation with OCCT 7.8. asozinov/subshape_color
authordish <dmitrii.shvydkoi@opencascade.com>
Wed, 12 Jun 2024 14:53:13 +0000 (14:53 +0000)
committerdish <dmitrii.shvydkoi@opencascade.com>
Wed, 12 Jun 2024 14:53:13 +0000 (14:53 +0000)
src/Model/Model_Objects.cpp

index 7fc1ba3c1c0accfad6c76a3318fe4e07559b5be8..d7d6190d5a5ba5f30fc17d73b58d04b37fd23191 100644 (file)
@@ -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 =