Blender Git Commit Log

Git Commits -> Revision e7767ba

Revision e7767ba by Sybren A. Stüvel (master)
August 21, 2020, 10:18 (GMT)
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.

Commit Details:

Full Hash: e7767ba6be99a85349975b8da37b8cb8b9a3d6a9
Parent Commit: 7aeaf5d
Lines Changed: +29, -22

1 Modified Path:

/source/blender/blenkernel/intern/scene.c (+29, -22) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021