mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Buttons "Add Part" and "Add Modifier" (in the Object Settings) works now
This commit is contained in:
parent
8899be8cca
commit
9504780ef4
7 changed files with 133 additions and 55 deletions
|
@ -122,8 +122,10 @@ void set_show_manifold_warning_icon(bool show)
|
|||
void update_mode()
|
||||
%code%{ Slic3r::GUI::update_mode(); %};
|
||||
|
||||
void add_object_to_list(const char *name, int instances_count, int scale)
|
||||
%code%{ Slic3r::GUI::add_object_to_list(name, instances_count, scale); %};
|
||||
void add_object_to_list(const char *name, SV *object_model)
|
||||
%code%{ Slic3r::GUI::add_object_to_list(
|
||||
name,
|
||||
(ModelObject *)wxPli_sv_2_object(aTHX_ object_model, "Slic3r::Model::Object") ); %};
|
||||
|
||||
void delete_object_from_list()
|
||||
%code%{ Slic3r::GUI::delete_object_from_list(); %};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue