[Bf-blender-cvs] [924444a640d] workspaces: Error in last commit

Campbell Barton noreply at git.blender.org
Tue Apr 4 06:12:35 CEST 2017


Commit: 924444a640d147c873e2499a625d6a03e9dfec46
Author: Campbell Barton
Date:   Tue Apr 4 14:12:42 2017 +1000
Branches: workspaces
https://developer.blender.org/rB924444a640d147c873e2499a625d6a03e9dfec46

Error in last commit

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

M	source/blender/blenkernel/intern/blendfile.c

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

diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c
index 516d26cc5d7..ac55cbe0ac8 100644
--- a/source/blender/blenkernel/intern/blendfile.c
+++ b/source/blender/blenkernel/intern/blendfile.c
@@ -95,7 +95,7 @@ static bool wm_scene_is_visible(wmWindowManager *wm, Scene *scene)
 {
 	wmWindow *win;
 	for (win = wm->windows.first; win; win = win->next) {
-		if (win->screen->scene == scene) {
+		if (win->scene == scene) {
 			return true;
 		}
 	}




More information about the Bf-blender-cvs mailing list