Gui: expose SoQtOffscreenRenderer to Python
This commit is contained in:
@@ -77,6 +77,7 @@
|
||||
#include "MDIViewPy.h"
|
||||
#include "SoFCDB.h"
|
||||
#include "Selection.h"
|
||||
#include "SoFCOffscreenRenderer.h"
|
||||
#include "SplitView3DInventor.h"
|
||||
#include "TaskView/TaskView.h"
|
||||
#include "TaskView/TaskDialogPython.h"
|
||||
@@ -457,6 +458,10 @@ Application::Application(bool GUIenabled)
|
||||
Py_DECREF(descr);
|
||||
}
|
||||
|
||||
SoQtOffscreenRendererPy::init_type();
|
||||
Base::Interpreter().addType(SoQtOffscreenRendererPy::type_object(),
|
||||
module,"SoQtOffscreenRenderer");
|
||||
|
||||
App::Application::Config()["COIN_VERSION"] = COIN_VERSION;
|
||||
|
||||
// Python console binding
|
||||
|
||||
Reference in New Issue
Block a user