ENH:open the model store and no longer check login status
Change-Id: I045ea9f33467637841cb811e8799ab903b981ebe
This commit is contained in:
parent
387a396f4b
commit
0efbf523ee
|
@ -379,9 +379,6 @@ void BBLTopbar::OnPublishClicked(wxAuiToolBarEvent& event)
|
||||||
//no more check
|
//no more check
|
||||||
//if (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
//if (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
||||||
|
|
||||||
if (!wxGetApp().check_login())
|
|
||||||
return;
|
|
||||||
|
|
||||||
#ifdef ENABLE_PUBLISHING
|
#ifdef ENABLE_PUBLISHING
|
||||||
wxGetApp().plater()->show_publish_dialog();
|
wxGetApp().plater()->show_publish_dialog();
|
||||||
#endif
|
#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 (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
||||||
|
|
||||||
if (!wxGetApp().check_login())
|
|
||||||
return;
|
|
||||||
|
|
||||||
wxGetApp().open_publish_page_dialog();
|
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 (GUI::wxGetApp().plater()->model().objects.empty()) return;
|
||||||
|
|
||||||
if (!wxGetApp().check_login())
|
|
||||||
return;
|
|
||||||
|
|
||||||
wxGetApp().open_mall_page_dialog();
|
wxGetApp().open_mall_page_dialog();
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue