2.5
authorTon Roosendaal <ton@blender.org>
Sat, 25 Jul 2009 15:05:51 +0000 (15:05 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 25 Jul 2009 15:05:51 +0000 (15:05 +0000)
Fix in previous commit:
Outliner data view, rna levels didn't open/close correctly.

source/blender/editors/space_outliner/outliner.c

index 40a365f956c65533ac6942ffb732ba8b5b9d2987..6ac094b3ad34ba1d04aab231536d5f11618d5061 100644 (file)
@@ -2259,7 +2259,6 @@ static int do_outliner_item_activate(bContext *C, Scene *scene, ARegion *ar, Spa
                                else tselem->flag |= TSE_CLOSED;
                                
                        }
-                       soops->storeflag |= SO_TREESTORE_REDRAW;
 
                        return 1;
                }
@@ -2371,8 +2370,6 @@ static int do_outliner_item_openclose(bContext *C, SpaceOops *soops, TreeElement
                        if(tselem->flag & TSE_CLOSED) tselem->flag &= ~TSE_CLOSED;
                        else tselem->flag |= TSE_CLOSED;
                }
-               
-               soops->storeflag |= SO_TREESTORE_REDRAW;
 
                return 1;
        }