From 40638e197004bfe843fa90694bfb3282dd37bdd4 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 25 May 2018 14:54:55 +0200 Subject: Fix T55062: crash with workspace scene relations. List of relations was saved with wrong struct type. --- source/blender/blenkernel/intern/library_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/library_query.c') diff --git a/source/blender/blenkernel/intern/library_query.c b/source/blender/blenkernel/intern/library_query.c index f5a6f539381..37b5b62b06e 100644 --- a/source/blender/blenkernel/intern/library_query.c +++ b/source/blender/blenkernel/intern/library_query.c @@ -932,7 +932,7 @@ void BKE_library_foreach_ID_link(Main *bmain, ID *id, LibraryIDLinkCallback call BKE_workspace_layout_screen_set(layout, screen); } - for (WorkSpaceSceneRelation *relation = workspace->scene_relations.first; relation; relation = relation->next) { + for (WorkSpaceSceneRelation *relation = workspace->scene_layer_relations.first; relation; relation = relation->next) { CALLBACK_INVOKE(relation->scene, IDWALK_CB_NOP); } break; -- cgit v1.2.3