Blender Git Loki

Git Commits -> Revision a650258

Revision a650258 by Sergey Sharybin (master)
September 11, 2019, 08:43 (GMT)
Python handlers: Pass depsgraph to events where it makes sense

The goal is to make it possible to access evaluated datablocks at a
corresponding context. For example, be able to check evaluated state
if an object used for rendering.

Allows to write scripts in a safe manner for T63548 and T60094.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5726

Commit Details:

Full Hash: a650258158dd7ad8fa9b6cb1b7da749e30ae15c1
Parent Commit: 022de79
Lines Changed: +133, -49

9 Modified Paths:

/source/blender/blenkernel/BKE_callbacks.h (+13, -2) (Diff)
/source/blender/blenkernel/intern/callbacks.c (+39, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+5, -4) (Diff)
/source/blender/editors/undo/ed_undo.c (+2, -2) (Diff)
/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp (+4, -1) (Diff)
/source/blender/python/intern/bpy_app_handlers.c (+41, -9) (Diff)
/source/blender/render/intern/source/pipeline.c (+16, -16) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+10, -10) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021