diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-26 18:57:59 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-26 18:57:59 +0300 |
commit | 9238b7308a3f0b2716237b36dbe9fe16ce4e041c (patch) | |
tree | 4d6d00155bfceb4a14ea6bb91645351f19744b83 /source/blender | |
parent | cacff6ad2728bd3e87f61bdbc650249801a7051b (diff) |
Fix view layer set in the outliner of child window not syncing to parent window.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 14b13fce652..53394aa927f 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -2196,7 +2196,7 @@ void WM_window_set_active_view_layer(wmWindow *win, ViewLayer *view_layer) wmWindow *win_parent = (win->parent) ? win->parent : win; /* Set view layer in parent and child windows. */ - STRNCPY(win->view_layer_name, view_layer->name); + STRNCPY(win_parent->view_layer_name, view_layer->name); for (wmWindow *win_child = wm->windows.first; win_child; win_child = win_child->next) { if (win_child->parent == win_parent) { |