mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +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,7 +411,8 @@ namespace netgen
|
||||
// Set the original colour of the face to the newly created
|
||||
// face (after the healing process)
|
||||
face = TopoDS::Face (exp0.Current());
|
||||
face_colours->SetColor(face,face_colour,XCAFDoc_ColorSurf);
|
||||
if(face_colours)
|
||||
face_colours->SetColor(face,face_colour,XCAFDoc_ColorSurf);
|
||||
}
|
||||
shape = rebuild->Apply(shape);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user