Gui: expose SoQtOffscreenRenderer to Python

This commit is contained in:
wmayer
2022-04-28 13:17:39 +02:00
committed by wwmayer
parent 8a81ff174b
commit 8499e8fba6
3 changed files with 219 additions and 0 deletions

View File

@@ -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