Tool System: per space/mode tool support
[blender.git] / source / blender / blenloader / intern / writefile.c
index bb136cb937d193345397a9aec5c9fb66e9e522d1..507fe2e082c0914bececf6085e8fa6201725fcd5 100644 (file)
@@ -3598,6 +3598,7 @@ static void write_workspace(WriteData *wd, WorkSpace *workspace)
        writelist(wd, DATA, WorkSpaceDataRelation, &workspace->hook_layout_relations);
        writelist(wd, DATA, WorkSpaceDataRelation, &workspace->scene_viewlayer_relations);
        writelist(wd, DATA, wmOwnerID, &workspace->owner_ids);
+       writelist(wd, DATA, bToolRef, &workspace->tools);
 }
 
 /* Keep it last of write_foodata functions. */