From ef6997a915bc1eae6141b4182e69788ed10176c9 Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 10 Aug 2006 10:19:40 +0000 Subject: [PATCH] Fix bug 13058: 'Remove webs' functionality works incorrectly. --- src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx b/src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx index 8c71c551c..f6a022bb5 100644 --- a/src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IBooleanOperations.cxx @@ -251,6 +251,7 @@ Handle(GEOM_Object) GEOMImpl_IBooleanOperations::MakePartition if (theMaterials.IsNull()) { Handle(TColStd_HArray1OfInteger) aMaterials = new TColStd_HArray1OfInteger (1, aShapesSeq->Length()); + aMaterials->Init(0); aCI.SetMaterials(aMaterials); } else { aCI.SetMaterials(theMaterials); -- 2.39.2