[Bf-blender-cvs] [e243f366c66] blender2.8: Fix system workspaces.blend not being found on some systems.
Brecht Van Lommel
noreply at git.blender.org
Mon Aug 20 16:29:27 CEST 2018
Commit: e243f366c66bc74a3b74d14b3b1eb18bbc39e1d1
Author: Brecht Van Lommel
Date: Mon Aug 20 11:53:27 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBe243f366c66bc74a3b74d14b3b1eb18bbc39e1d1
Fix system workspaces.blend not being found on some systems.
===================================================================
M source/blender/editors/screen/workspace_edit.c
===================================================================
diff --git a/source/blender/editors/screen/workspace_edit.c b/source/blender/editors/screen/workspace_edit.c
index e54a764faa7..16587792c87 100644
--- a/source/blender/editors/screen/workspace_edit.c
+++ b/source/blender/editors/screen/workspace_edit.c
@@ -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;
}
More information about the Bf-blender-cvs
mailing list