mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-18 23:20:36 +05:00
Fix bug 13058: 'Remove webs' functionality works incorrectly.
This commit is contained in:
parent
65c6df3249
commit
ef6997a915
@ -251,6 +251,7 @@ Handle(GEOM_Object) GEOMImpl_IBooleanOperations::MakePartition
|
|||||||
if (theMaterials.IsNull()) {
|
if (theMaterials.IsNull()) {
|
||||||
Handle(TColStd_HArray1OfInteger) aMaterials =
|
Handle(TColStd_HArray1OfInteger) aMaterials =
|
||||||
new TColStd_HArray1OfInteger (1, aShapesSeq->Length());
|
new TColStd_HArray1OfInteger (1, aShapesSeq->Length());
|
||||||
|
aMaterials->Init(0);
|
||||||
aCI.SetMaterials(aMaterials);
|
aCI.SetMaterials(aMaterials);
|
||||||
} else {
|
} else {
|
||||||
aCI.SetMaterials(theMaterials);
|
aCI.SetMaterials(theMaterials);
|
||||||
|
Loading…
Reference in New Issue
Block a user