Revision: 53272
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=53272
Author:   ton
Date:     2012-12-22 15:10:04 +0000 (Sat, 22 Dec 2012)
Log Message:
-----------
Bug - old code, not working for new outliner view: Click on World needed a 
context check.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_outliner/outliner_select.c

Modified: trunk/blender/source/blender/editors/space_outliner/outliner_select.c
===================================================================
--- trunk/blender/source/blender/editors/space_outliner/outliner_select.c       
2012-12-22 14:58:01 UTC (rev 53271)
+++ trunk/blender/source/blender/editors/space_outliner/outliner_select.c       
2012-12-22 15:10:04 UTC (rev 53272)
@@ -336,7 +336,8 @@
        tep = te->parent;
        if (tep) {
                tselem = TREESTORE(tep);
-               sce = (Scene *)tselem->id;
+               if (tselem->type == 0)
+                       sce = (Scene *)tselem->id;
        }
        
        if (set) {  // make new scene active

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to