[Bf-blender-cvs] [b3e69525a49] workspaces: Remove redundant TODO mark

Julian Eisel noreply at git.blender.org
Fri Apr 7 00:05:27 CEST 2017


Commit: b3e69525a495dbaf9ee727ff8a9037fb80377179
Author: Julian Eisel
Date:   Fri Apr 7 00:03:42 2017 +0200
Branches: workspaces
https://developer.blender.org/rBb3e69525a495dbaf9ee727ff8a9037fb80377179

Remove redundant TODO mark

workspaces.blend file contain nothing but workspaces (mostly), so there's
nothing to skip when reading.

===================================================================

M	source/blender/blenkernel/intern/blendfile.c

===================================================================

diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c
index 0fee7731440..bac41d53334 100644
--- a/source/blender/blenkernel/intern/blendfile.c
+++ b/source/blender/blenkernel/intern/blendfile.c
@@ -520,7 +520,7 @@ WorkspaceConfigFileData *BKE_blendfile_workspace_config_read(const char *filepat
 	BlendFileData *bfd;
 	WorkspaceConfigFileData *workspace_config = NULL;
 
-	bfd = BLO_read_from_file(filepath, reports, BLO_READ_SKIP_USERDEF); /* TODO only read workspaces */
+	bfd = BLO_read_from_file(filepath, reports, BLO_READ_SKIP_USERDEF);
 	if (bfd) {
 		workspace_config = MEM_mallocN(sizeof(*workspace_config), __func__);
 		workspace_config->main = bfd->main;




More information about the Bf-blender-cvs mailing list