mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
Merge branch 'surf_color_to_mesh' into 'master'
surface color to mesh from geometry See merge request ngsolve/netgen!504
This commit is contained in:
commit
668f0945c4
@ -785,6 +785,8 @@ namespace netgen
|
||||
{
|
||||
auto & face = *faces[k];
|
||||
FaceDescriptor fd(k+1, face.domin+1, face.domout+1, k+1);
|
||||
if(face.properties.col)
|
||||
fd.SetSurfColour(*face.properties.col);
|
||||
mesh.AddFaceDescriptor(fd);
|
||||
mesh.SetBCName(k, face.properties.GetName());
|
||||
if(face.primary == &face)
|
||||
|
Loading…
Reference in New Issue
Block a user