mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 00:07:52 -06:00
Fixed DnD for "Model part" volumes inside the object
Fixed volumes order inside the object
This commit is contained in:
parent
2d9953069a
commit
7eebd56b5f
7 changed files with 101 additions and 96 deletions
|
@ -238,7 +238,7 @@ public:
|
|||
bool is_instance_or_object_selected();
|
||||
|
||||
void load_subobject(ModelVolumeType type);
|
||||
void load_part(ModelObject* model_object, std::vector<std::pair<wxString, bool>> &volumes_info, ModelVolumeType type);
|
||||
void load_part(ModelObject* model_object, std::vector<ModelVolume*> &added_volumes, ModelVolumeType type);
|
||||
void load_generic_subobject(const std::string& type_name, const ModelVolumeType type);
|
||||
void load_shape_object(const std::string &type_name);
|
||||
void load_mesh_object(const TriangleMesh &mesh, const wxString &name, bool center = true);
|
||||
|
@ -371,6 +371,8 @@ public:
|
|||
void toggle_printable_state();
|
||||
|
||||
void set_extruder_for_selected_items(const int extruder) const ;
|
||||
wxDataViewItemArray reorder_volumes_and_get_selection(int obj_idx, std::function<bool(const ModelVolume*)> add_to_selection = nullptr);
|
||||
void apply_volumes_order();
|
||||
|
||||
private:
|
||||
#ifdef __WXOSX__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue