Fix bug 13058: 'Remove webs' functionality works incorrectly.

This commit is contained in:
jfa 2006-08-10 10:19:40 +00:00
parent 65c6df3249
commit ef6997a915

View File

@ -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);