[Bf-blender-cvs] [db2a59368e1] temp-workspace-multi-window: Fix mistake in 2301dd18a36d5

Julian Eisel noreply at git.blender.org
Thu Mar 9 12:12:03 CET 2017


Commit: db2a59368e197508692df650ab2ba06f97283d83
Author: Julian Eisel
Date:   Thu Mar 9 12:10:47 2017 +0100
Branches: temp-workspace-multi-window
https://developer.blender.org/rBdb2a59368e197508692df650ab2ba06f97283d83

Fix mistake in 2301dd18a36d5

Apparently I didn't test correctly before pushing :|

===================================================================

M	source/blender/editors/workspace/screen_ops.c

===================================================================

diff --git a/source/blender/editors/workspace/screen_ops.c b/source/blender/editors/workspace/screen_ops.c
index 9048ba9584d..303d776d0ab 100644
--- a/source/blender/editors/workspace/screen_ops.c
+++ b/source/blender/editors/workspace/screen_ops.c
@@ -983,7 +983,7 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 	wmWindow *newwin, *win = CTX_wm_window(C);
 	Scene *scene = CTX_data_scene(C);
 	WorkSpace *workspace = WM_window_get_active_workspace(win);
-	ScreenLayoutData layout_data;
+	ScreenLayoutData layout_data = {};
 	bScreen *newsc;
 	ScrArea *sa = CTX_wm_area(C);
 	rcti rect;




More information about the Bf-blender-cvs mailing list