mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
preserve bcnames for surface top-level objects
This commit is contained in:
parent
1bf0c50813
commit
033c180159
@ -367,8 +367,12 @@ DLL_HEADER void ExportCSG()
|
||||
{
|
||||
solid->AddSurfaces (self);
|
||||
solid->GiveUpOwner();
|
||||
int tlonr = self.SetTopLevelObject (solid->GetSolid(), &surface->GetSolid()->GetPrimitive()->GetSurface());
|
||||
self.GetTopLevelObject(tlonr) -> SetMaterial(solid->GetMaterial());
|
||||
Surface & surf = surface->GetSolid()->GetPrimitive()->GetSurface();
|
||||
int tlonr = self.SetTopLevelObject (solid->GetSolid(), &surf);
|
||||
// self.GetTopLevelObject(tlonr) -> SetMaterial(solid->GetMaterial());
|
||||
self.GetTopLevelObject(tlonr) -> SetBCProp(surf.GetBCProperty());
|
||||
self.GetTopLevelObject(tlonr) -> SetBCName(surf.GetBCName());
|
||||
|
||||
self.GetTopLevelObject(tlonr) -> SetRGB(solid->GetRed(),solid->GetGreen(),solid->GetBlue());
|
||||
self.GetTopLevelObject(tlonr)->SetTransparent(solid->IsTransparent());
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user