Fix mistake in recent outliner rebuild change.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 15 May 2018 15:07:13 +0000 (17:07 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 15 May 2018 15:32:38 +0000 (17:32 +0200)
source/blender/editors/space_outliner/outliner_tree.c

index f8158c9ce7bb0b6c838100c4ece3663da048b4cb..de8ee5420e784851a46daefec5e01ebcb8939083 100644 (file)
@@ -2068,7 +2068,7 @@ void outliner_build_tree(Main *mainvar, Scene *scene, ViewLayer *view_layer, Spa
                BKE_outliner_treehash_rebuild_from_treestore(soops->treehash, soops->treestore);
        }
 
-       if (ar->flag & RGN_DRAW_NO_REBUILD) {
+       if (ar->do_draw & RGN_DRAW_NO_REBUILD) {
                return;
        }