Blender Git Loki

Git Commits -> Revision d9ce1cd

Revision d9ce1cd by Brecht Van Lommel (master)
May 8, 2012, 22:07 (GMT)
Python/context: python could get invalid bpy.data in scene update handler after
undo.

The way this got updated from the context is a bit unreliable, and for handlers
the update couldn't happen because there is no context passed in. Now it's
updated from setup_app_data, which is where the change actually happens. I left
in the other updates to be sure but they should not be needed anymore.

Commit Details:

Full Hash: d9ce1cda94c256326d09efa69b55682bde98ea8b
SVN Revision: 46437
Parent Commit: f6abd6e
Lines Changed: +19, -7

5 Modified Paths:

/source/blender/blenkernel/intern/blender.c (+9, -0) (Diff)
/source/blender/python/BPY_extern.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_interface.c (+5, -4) (Diff)
/source/blender/python/intern/bpy_rna.c (+4, -2) (Diff)
/source/blender/python/intern/bpy_util.h (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021