python - set background color

This commit is contained in:
Matthias Hochsteer 2015-08-31 17:45:34 -04:00 committed by Matthias Hochsteger
parent b7e5abbbac
commit b82d89a768
2 changed files with 3 additions and 0 deletions

View File

@ -503,6 +503,8 @@ DLL_HEADER void ExportCSGVis()
.def("Draw", &VisualSceneGeometry::DrawScene)
;
bp::def("SetBackGroundColor", &VisualSceneGeometry::SetBackGroundColor);
bp::def("VS", FunctionPointer
([](CSGeometry & geom)
{

View File

@ -14,6 +14,7 @@ if __platform.startswith('win'):
CSGeometry.VS = csgvis.VS
SetBackGroundColor = csgvis.SetBackGroundColor
del csgvis
def VS (obj):