diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-21 12:21:16 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-08-21 13:18:48 +0300 |
commit | e7767ba6be99a85349975b8da37b8cb8b9a3d6a9 (patch) | |
tree | 5a9ccda4dff54d828f7465e3ccde0764a19653e5 /source/blender/windowmanager/xr | |
parent | 7aeaf5da0eaf2310f9b984f953f9a3a2ea02883c (diff) |
Cleanup: Reduce nesting of `scene_get_depsgraph_p()`
Reduce nesting by flipping conditions and returning early. It's now much
clearer that it's actually a linear function (rather than a nested one).
No functional changes.
Diffstat (limited to 'source/blender/windowmanager/xr')
0 files changed, 0 insertions, 0 deletions