diff --git a/libsrc/csg/vscsg.cpp b/libsrc/csg/vscsg.cpp index 152c7aaf..cb4154fa 100644 --- a/libsrc/csg/vscsg.cpp +++ b/libsrc/csg/vscsg.cpp @@ -503,6 +503,8 @@ DLL_HEADER void ExportCSGVis() .def("Draw", &VisualSceneGeometry::DrawScene) ; + bp::def("SetBackGroundColor", &VisualSceneGeometry::SetBackGroundColor); + bp::def("VS", FunctionPointer ([](CSGeometry & geom) { diff --git a/python/csg.py b/python/csg.py index 7998b29e..9e2159e2 100644 --- a/python/csg.py +++ b/python/csg.py @@ -14,6 +14,7 @@ if __platform.startswith('win'): CSGeometry.VS = csgvis.VS +SetBackGroundColor = csgvis.SetBackGroundColor del csgvis def VS (obj):