mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 13:50:33 +05:00
Merge branch 'heal_without_face_colours' into 'master'
Allow OCCGeometry.Heal without face_colours (if built in py) See merge request jschoeberl/netgen!435
This commit is contained in:
commit
4c326e8535
@ -411,6 +411,7 @@ namespace netgen
|
|||||||
// Set the original colour of the face to the newly created
|
// Set the original colour of the face to the newly created
|
||||||
// face (after the healing process)
|
// face (after the healing process)
|
||||||
face = TopoDS::Face (exp0.Current());
|
face = TopoDS::Face (exp0.Current());
|
||||||
|
if(face_colours)
|
||||||
face_colours->SetColor(face,face_colour,XCAFDoc_ColorSurf);
|
face_colours->SetColor(face,face_colour,XCAFDoc_ColorSurf);
|
||||||
}
|
}
|
||||||
shape = rebuild->Apply(shape);
|
shape = rebuild->Apply(shape);
|
||||||
|
Loading…
Reference in New Issue
Block a user