mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 16:42:43 +00:00
Objects can be selected in 3D preview now. Double click and right click work as well
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
void clear_objects();
|
||||
size_t objects_count()
|
||||
%code%{ RETVAL = THIS->objects.size(); %};
|
||||
Ref<ModelObject> get_object(int idx)
|
||||
%code%{ RETVAL = THIS->objects.at(idx); %};
|
||||
|
||||
Ref<ModelMaterial> get_material(t_model_material_id material_id)
|
||||
%code%{
|
||||
|
||||
@@ -93,6 +93,10 @@ Point::coincides_with(point_sv)
|
||||
%code{% RETVAL = THIS->x; %};
|
||||
double y()
|
||||
%code{% RETVAL = THIS->y; %};
|
||||
void set_x(double val)
|
||||
%code{% THIS->x = val; %};
|
||||
void set_y(double val)
|
||||
%code{% THIS->y = val; %};
|
||||
void translate(double x, double y);
|
||||
void scale(double factor);
|
||||
void rotate(double angle, Pointf* center)
|
||||
|
||||
Reference in New Issue
Block a user