mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Allow OCCGeometry.Heal without face_colours (if built in py)
This commit is contained in:
parent
41d9fbf258
commit
e703ad75af
@ -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