mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 21:00:34 +05:00
python - set background color
This commit is contained in:
parent
b7e5abbbac
commit
b82d89a768
@ -503,6 +503,8 @@ DLL_HEADER void ExportCSGVis()
|
||||
.def("Draw", &VisualSceneGeometry::DrawScene)
|
||||
;
|
||||
|
||||
bp::def("SetBackGroundColor", &VisualSceneGeometry::SetBackGroundColor);
|
||||
|
||||
bp::def("VS", FunctionPointer
|
||||
([](CSGeometry & geom)
|
||||
{
|
||||
|
@ -14,6 +14,7 @@ if __platform.startswith('win'):
|
||||
|
||||
|
||||
CSGeometry.VS = csgvis.VS
|
||||
SetBackGroundColor = csgvis.SetBackGroundColor
|
||||
del csgvis
|
||||
|
||||
def VS (obj):
|
||||
|
Loading…
Reference in New Issue
Block a user