mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
fix wrong bcname string pointer
This commit is contained in:
parent
8efcd93db6
commit
928cb57448
@ -411,7 +411,7 @@ namespace netgen
|
|||||||
Vec<4> col = OCCGeometry::global_shape_properties[face.TShape()].col.value_or(Vec<4>(0,1,0,1));
|
Vec<4> col = OCCGeometry::global_shape_properties[face.TShape()].col.value_or(Vec<4>(0,1,0,1));
|
||||||
mesh.GetFaceDescriptor(facenr).SetSurfColour(col);
|
mesh.GetFaceDescriptor(facenr).SetSurfColour(col);
|
||||||
|
|
||||||
if(auto opt_name = geom.fprops[facenr-1]->name)
|
if(auto & opt_name = geom.fprops[facenr-1]->name)
|
||||||
mesh.GetFaceDescriptor(facenr).SetBCName(&*opt_name);
|
mesh.GetFaceDescriptor(facenr).SetBCName(&*opt_name);
|
||||||
mesh.GetFaceDescriptor(facenr).SetBCProperty(facenr);
|
mesh.GetFaceDescriptor(facenr).SetBCProperty(facenr);
|
||||||
// ACHTUNG! STIMMT NICHT ALLGEMEIN (RG)
|
// ACHTUNG! STIMMT NICHT ALLGEMEIN (RG)
|
||||||
|
Loading…
Reference in New Issue
Block a user