mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
3DScene layers editing mouse containment methods moved to c++
This commit is contained in:
@@ -679,6 +679,25 @@ get_layers_editing_first_selected_object_id(canvas, objects_count)
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
bool
|
||||
bar_rect_contains(canvas, x, y)
|
||||
SV *canvas;
|
||||
float x;
|
||||
float y;
|
||||
CODE:
|
||||
RETVAL = _3DScene::bar_rect_contains((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), x, y);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
bool
|
||||
reset_rect_contains(canvas, x, y)
|
||||
SV *canvas;
|
||||
float x;
|
||||
float y;
|
||||
CODE:
|
||||
RETVAL = _3DScene::reset_rect_contains((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), x, y);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
void
|
||||
zoom_to_bed(canvas)
|
||||
|
||||
Reference in New Issue
Block a user