diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-08-03 19:00:22 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-08-03 19:00:22 +0400 |
commit | 20a377f93a5af8ffe8e31b8ae8cb7b042ac9434c (patch) | |
tree | fe16cace4b5dd7c187ece452ef3c6dd72ab6f48a /source/blender/editors/space_outliner | |
parent | 5fc6f04fc8b678670c2d40d91ca3ccadd653b3ed (diff) |
Fix #36288, Renderlayer toggles behave unexpected in Outliner. The outliner was using the wrong flag variable for toggling render layers, was setting pass flags instead of the layer on/off flag.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 2295af93166..49ff8e5dcf9 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -438,7 +438,7 @@ static void outliner_add_scene_contents(SpaceOops *soops, ListBase *lb, Scene *s for (a = 0, srl = sce->r.layers.first; srl; srl = srl->next, a++) { TreeElement *tenlay = outliner_add_element(soops, &tenla->subtree, sce, te, TSE_R_LAYER, a); tenlay->name = srl->name; - tenlay->directdata = &srl->passflag; + tenlay->directdata = &srl->layflag; if (srl->light_override) outliner_add_element(soops, &tenlay->subtree, srl->light_override, tenlay, TSE_LINKED_LAMP, 0); |