Fix T71372: view layer is not maintained when area is duplicated into new window
Maniphest Tasks: T71372 Differential Revision: https://developer.blender.org/D6205
This commit is contained in:
@@ -1353,6 +1353,8 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
|
||||
newwin->scene = scene;
|
||||
|
||||
STRNCPY(newwin->view_layer_name, win->view_layer_name);
|
||||
|
||||
BKE_workspace_active_set(newwin->workspace_hook, workspace);
|
||||
/* allocs new screen and adds to newly created window, using window size */
|
||||
layout_new = ED_workspace_layout_add(
|
||||
|
Reference in New Issue
Block a user