-
-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate Current Plate With Objects (Second PR) #6710
Duplicate Current Plate With Objects (Second PR) #6710
Conversation
This the initial commit and this still needs work.
…o be updated to id=7 as we have one more plate icon. [SoftFever#2025] Removed the `printf` statements.
… when the plate is duplicated.
…tions and the toolbar.
… the `Edit` menu.
src/slic3r/GUI/GLCanvas3D.hpp
Outdated
@@ -159,6 +159,7 @@ wxDECLARE_EVENT(EVT_GLCANVAS_PLATE_RIGHT_CLICK, RBtnPlateEvent); | |||
wxDECLARE_EVENT(EVT_GLCANVAS_REMOVE_OBJECT, SimpleEvent); | |||
wxDECLARE_EVENT(EVT_GLCANVAS_ARRANGE, SimpleEvent); | |||
//BBS: add arrange and orient event | |||
// wxDECLARE_EVENT(EVT_GLCANVAS_DUPLICATE_PLATE, SimpleEvent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we remove these unused commented codes?
src/slic3r/GUI/GLCanvas3D.cpp
Outdated
@@ -6353,6 +6357,15 @@ bool GLCanvas3D::_init_main_toolbar() | |||
if (!m_main_toolbar.add_item(item)) | |||
return false; | |||
|
|||
// item.name = "duplicateplate"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we remove these unused commented codes?
There are other commentted codes, let's remove them as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Overall looks well.
I made some small suggestions
Thank you, I updated my branch with your review comments. |
Thank you for quick response 👍 |
…duced "Duplicate Plate" functionality.
It should be okay now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you very much!
As per @SoftFever 's request here I create a new PR.
Description
Screenshots/Recordings/Graphs
Orca_Slicer_Duplicate_Plate_Preview_3_1.mp4
Tests
Run manual tests only...