mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
ENH:open the model store and no longer check login status
Change-Id: I045ea9f33467637841cb811e8799ab903b981ebe
This commit is contained in:
@@ -379,9 +379,6 @@ void BBLTopbar::OnPublishClicked(wxAuiToolBarEvent& event)
|
||||
//no more check
|
||||
//if (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
||||
|
||||
if (!wxGetApp().check_login())
|
||||
return;
|
||||
|
||||
#ifdef ENABLE_PUBLISHING
|
||||
wxGetApp().plater()->show_publish_dialog();
|
||||
#endif
|
||||
|
||||
@@ -1948,10 +1948,6 @@ static void add_common_publish_menu_items(wxMenu* publish_menu, MainFrame* mainF
|
||||
}
|
||||
|
||||
//if (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
||||
|
||||
if (!wxGetApp().check_login())
|
||||
return;
|
||||
|
||||
wxGetApp().open_publish_page_dialog();
|
||||
});
|
||||
|
||||
@@ -1963,10 +1959,6 @@ static void add_common_publish_menu_items(wxMenu* publish_menu, MainFrame* mainF
|
||||
}
|
||||
|
||||
//if (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
||||
|
||||
if (!wxGetApp().check_login())
|
||||
return;
|
||||
|
||||
wxGetApp().open_mall_page_dialog();
|
||||
});
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user