Skip to content

Commit

Permalink
New proj format
Browse files Browse the repository at this point in the history
  • Loading branch information
est77 committed Apr 22, 2020
1 parent bd17e99 commit a04fa14
Show file tree
Hide file tree
Showing 9 changed files with 2,182 additions and 11 deletions.
6 changes: 2 additions & 4 deletions src/appleseed.studio/mainwindow/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,8 @@ bool MainWindow::save_project(QString filepath)
if (!m_project_manager.is_project_open())
return false;

const QString Extension = "appleseed";

if (QFileInfo(filepath).suffix() != Extension)
filepath += "." + Extension;
if (QFileInfo(filepath).suffix().isEmpty())
filepath += ".appleseed";

if (m_project_file_watcher)
stop_monitoring_project_file();
Expand Down
4 changes: 4 additions & 0 deletions src/appleseed/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,10 @@ source_group ("renderer\\modeling\\postprocessingstage" FILES
)

set (renderer_modeling_project_sources
renderer/modeling/project/appleseedprojectfilereader.cpp
renderer/modeling/project/appleseedprojectfilereader.h
renderer/modeling/project/appleseedprojectfilewriter.cpp
renderer/modeling/project/appleseedprojectfilewriter.h
renderer/modeling/project/assethandler.cpp
renderer/modeling/project/assethandler.h
renderer/modeling/project/configuration.cpp
Expand Down
Loading

0 comments on commit a04fa14

Please sign in to comment.