surface color to mesh from geometry

This commit is contained in:
Christopher Lackner 2022-05-10 18:18:29 +02:00
parent e8ec2b3550
commit 95be76d8ee

View File

@ -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)