[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48292] branches/soc-2012-bratwurst/source /blender/editors/space_outliner/outliner_select.c: Clicking on an object in an unselected scene would select the scene but not the object , this is now fixed.

Jorge Rodriguez bs.vino at gmail.com
Mon Jun 25 23:44:48 CEST 2012


Revision: 48292
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48292
Author:   vino
Date:     2012-06-25 21:44:42 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
Clicking on an object in an unselected scene would select the scene but not the object, this is now fixed.

Modified Paths:
--------------
    branches/soc-2012-bratwurst/source/blender/editors/space_outliner/outliner_select.c

Modified: branches/soc-2012-bratwurst/source/blender/editors/space_outliner/outliner_select.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/space_outliner/outliner_select.c	2012-06-25 21:22:36 UTC (rev 48291)
+++ branches/soc-2012-bratwurst/source/blender/editors/space_outliner/outliner_select.c	2012-06-25 21:44:42 UTC (rev 48292)
@@ -158,6 +158,7 @@
 	sce = (Scene *)outliner_search_back(soops, te, ID_SCE);
 	if (sce && scene != sce) {
 		ED_screen_set_scene(C, CTX_wm_screen(C), sce);
+		scene = sce;
 	}
 	
 	/* find associated base in current scene */




More information about the Bf-blender-cvs mailing list