ENH:open the model store and no longer check login status

Change-Id: I045ea9f33467637841cb811e8799ab903b981ebe
This commit is contained in:
tao wang 2023-04-19 16:24:26 +08:00 committed by Lane.Wei
parent 387a396f4b
commit 0efbf523ee
2 changed files with 0 additions and 11 deletions

View File

@ -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

View File

@ -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