Fix system workspaces.blend not being found on some systems.

This commit is contained in:
Brecht Van Lommel 2018-08-20 11:53:27 +02:00
parent 9600b23eaa
commit e243f366c6
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ static WorkspaceConfigFileData *workspace_config_file_read(
has_path = true;
}
else {
workspace_config_file_path_from_folder_id(bmain, BLENDER_DATAFILES, workspace_config_path);
workspace_config_file_path_from_folder_id(bmain, BLENDER_SYSTEM_DATAFILES, workspace_config_path);
if (BLI_exists(workspace_config_path)) {
has_path = true;
}