Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-25 15:54:55 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-25 16:06:40 +0300
commit40638e197004bfe843fa90694bfb3282dd37bdd4 (patch)
tree55533259a1cc469d1edaa98e6537a700b9c137dd /source/blender/blenkernel/intern/library_query.c
parent657fedbbee661324285f24831fbb3a6d91e9a63e (diff)
Fix T55062: crash with workspace scene relations.
List of relations was saved with wrong struct type.
Diffstat (limited to 'source/blender/blenkernel/intern/library_query.c')
-rw-r--r--source/blender/blenkernel/intern/library_query.c2
1 files changed, 1 insertions, 1 deletions
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;