Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/xsp/GUI_3DScene.xsp')
-rw-r--r--xs/xsp/GUI_3DScene.xsp11
1 files changed, 5 insertions, 6 deletions
diff --git a/xs/xsp/GUI_3DScene.xsp b/xs/xsp/GUI_3DScene.xsp
index 91200eb2d..c7f3670fc 100644
--- a/xs/xsp/GUI_3DScene.xsp
+++ b/xs/xsp/GUI_3DScene.xsp
@@ -190,13 +190,12 @@ remove_all_canvases()
CODE:
_3DScene::remove_all_canvases();
-bool
-is_shown_on_screen(canvas)
- SV *canvas;
+void
+set_active(canvas, active)
+ SV *canvas;
+ bool active;
CODE:
- RETVAL = _3DScene::is_shown_on_screen((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
- OUTPUT:
- RETVAL
+ _3DScene::set_active((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), active);
unsigned int
get_volumes_count(canvas)