From: jfa Date: Thu, 10 Aug 2006 10:19:40 +0000 (+0000) Subject: Fix bug 13058: 'Remove webs' functionality works incorrectly. X-Git-Tag: For_OCT_611~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef6997a915bc1eae6141b4182e69788ed10176c9;p=modules%2Fgeom.git Fix bug 13058: 'Remove webs' functionality works incorrectly. --- 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);