Thanks,
I have this problem since several months !
Here is the complete method :
void psMainWindow::on_Menu_Save()
{
if (_currentFilePath.length() < 1)
{
on_Menu_SaveAs();
return;
}
UpdatePanelWidget::Start();
pureGraph::IE::Exporter exporter;
string file = _currentFilePath.toStdString();
exporter.Export(GlobalContext::Scene, file);
UpdatePanelWidget::Stop();
}
void psMainWindow::on_Menu_Save()
{
if (_currentFilePath.length() < 1)
{
on_Menu_SaveAs();
return;
}
UpdatePanelWidget::Start();
pureGraph::IE::Exporter exporter;
string file = _currentFilePath.toStdString();
exporter.Export(GlobalContext::Scene, file);
UpdatePanelWidget::Stop();
}
To copy to clipboard, switch view to plain text mode
Bookmarks