diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-02-22 17:13:36 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-02-22 17:53:59 +0300 |
commit | e278b38b921d625a11544203808575a7180f75e8 (patch) | |
tree | 6b1d7fe37acb5bd89201f868df753b6b8a5ae5e5 /source/blender/makesdna/DNA_view3d_types.h | |
parent | ce79d86c08d70e0c277c9ea2e4202ddb9945d669 (diff) |
Fix T61788: Hidden objects reappear after rendering
The change in outliner and viewport visibility (897e047374fa) was made
assuming the bases of the render and viewport depsgraph were
independent. Thus we were deliberately setting base visibility when
rendering:
```
/* When rendering, visibility is controlled by the enable/disable option. */
if (mode == DAG_EVAL_RENDER) {
base->flag |= BASE_VISIBLE;
}
```
However, we were syncing data back to the original depsgraph, leading to
hidden viewport objects to re-appear.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D4391
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
0 files changed, 0 insertions, 0 deletions