mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20: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)
|
.def("Draw", &VisualSceneGeometry::DrawScene)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
bp::def("SetBackGroundColor", &VisualSceneGeometry::SetBackGroundColor);
|
||||||
|
|
||||||
bp::def("VS", FunctionPointer
|
bp::def("VS", FunctionPointer
|
||||||
([](CSGeometry & geom)
|
([](CSGeometry & geom)
|
||||||
{
|
{
|
||||||
|
@ -14,6 +14,7 @@ if __platform.startswith('win'):
|
|||||||
|
|
||||||
|
|
||||||
CSGeometry.VS = csgvis.VS
|
CSGeometry.VS = csgvis.VS
|
||||||
|
SetBackGroundColor = csgvis.SetBackGroundColor
|
||||||
del csgvis
|
del csgvis
|
||||||
|
|
||||||
def VS (obj):
|
def VS (obj):
|
||||||
|
Loading…
Reference in New Issue
Block a user