FIX: menu item for gcode to obj

jira: STUDIO-12517

Change-Id: Icb4b0666f5935110f29c0b224329efbd80ade98e
(cherry picked from commit 9b126c6eade3cb0f3e0053e813152fb86841d946)
This commit is contained in:
jun.zhang 2025-06-30 15:36:13 +08:00 committed by Noisyfox
parent 9e990fc5c1
commit bf3875e4c9
2 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="16" height="16" fill="#C4C4C4" fill-opacity="0.01"/>
</svg>

After

Width:  |  Height:  |  Size: 169 B

View file

@ -2498,7 +2498,7 @@ void MainFrame::init_menubar_as_editor()
[this]() {return can_export_gcode(); }, this);
append_menu_item(export_menu, wxID_ANY, _L("Export toolpaths as OBJ") + dots, _L("Export toolpaths as OBJ"),
[this](wxCommandEvent&) { if (m_plater != nullptr) m_plater->export_toolpaths_to_obj(); }, "", nullptr,
[this](wxCommandEvent&) { if (m_plater != nullptr) m_plater->export_toolpaths_to_obj(); }, "menu_export_toolpaths", nullptr,
[this]() {return can_export_toolpaths(); }, this);
append_menu_item(