mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Duplicate Current Plate With Objects (Second PR) (#6710)
* Added `duplicate plate` feature. This the initial commit and this still needs work. * [#2025] Fixed the SEGFAULT, apparently an icon id=6 needed to be updated to id=7 as we have one more plate icon. [#2025] Removed the `printf` statements. * [#2025] Plate duplication is now fully implemented. * [#2025] Updated icons for plate duplicate funcctionality. * [#2025] Added toolbar icon fro "Duplicate Current Plate" action. * [#2025] Revert changes for `toolbar_add_plate_dark.svg`. * [#2025] Removed the `BBS` label in the code that is not written by BBS. * [#2025] Updated `.gitignore` to ignore VSCode workspace file. * [#2025] Fixed the instances not transforming in global space when the plate is duplicated. * [#2025] Removed the Duplicate Plate action from the plate actions and the toolbar. * [#2025] Added the `Duplicate Current Plate` functionality to the `Edit` menu. * [#2025] Addressed review comments. * [#2025] Addressed review comments. * [#2025] Removed unused icons related to the previously introduced "Duplicate Plate" functionality.
This commit is contained in:
parent
d87734ebfa
commit
2b4cd6577b
6 changed files with 71 additions and 9 deletions
|
@ -599,6 +599,7 @@ public:
|
|||
int select_plate_by_hover_id(int hover_id, bool right_click = false, bool isModidyPlateName = false);
|
||||
//BBS: delete the plate, index= -1 means the current plate
|
||||
int delete_plate(int plate_index = -1);
|
||||
int duplicate_plate(int plate_index = -1);
|
||||
//BBS: select the sliced plate by index
|
||||
int select_sliced_plate(int plate_index);
|
||||
//BBS: set bed positions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue