Blender Git Commit Log

Git Commits -> Revision 5cc0851

Revision 5cc0851 by Julian Eisel (master)
August 19, 2020, 10:37 (GMT)
RNA: Validate scene/view-layer combination for statistics query

Users may input an invalid scene/view-layer combination via Python. We
can easily detect that and fail gracefully.

Besides checking input parameters in RNA, also assert the
scene/view-layer combination is valid in lower level Depsgraph lookup
function (called by statistics query).

Commit Details:

Full Hash: 5cc08510e0a636ea99eb753cb0ff65861d5e4813
Parent Commit: 8cbfc4c
Lines Changed: +25, -1

3 Modified Paths:

/source/blender/blenkernel/BKE_scene.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+12, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+11, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021