mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
ENH: refine model uploading logics
1. change the url of product env to makerworld 2. always show the uploading button without checking permission Signed-off-by: yifan.wu <yifan.wu@bambulab.com> Change-Id: I666042a216d1a4aca69e2a50d430532f722d9b00 (cherry picked from commit 94daddc0aa593778fbf4a9d44d92a68883292a7f)
This commit is contained in:
parent
693af0c98f
commit
bd2df4801a
5 changed files with 5 additions and 58 deletions
|
@ -2573,18 +2573,6 @@ void MainFrame::init_menubar_as_editor()
|
|||
#endif // __APPLE__
|
||||
}
|
||||
|
||||
void MainFrame::show_publish_button(bool show)
|
||||
{
|
||||
if (!m_menubar) return;
|
||||
|
||||
if (show){
|
||||
m_menubar->Insert(4, publishMenu, wxString::Format("&%s", _L("3D Models")));
|
||||
}
|
||||
else {
|
||||
m_menubar->Remove(4);
|
||||
}
|
||||
}
|
||||
|
||||
void MainFrame::set_max_recent_count(int max)
|
||||
{
|
||||
max = max < 0 ? 0 : max > 10000 ? 10000 : max;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue