Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-01 17:53:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-01 17:53:26 +0300
commit623822626a954fe9f83f18af4b3699c6e80b5313 (patch)
tree54afb70ab229403aa532e7f38cad26c6eebbc188 /intern/ghost
parentf0f639f8b8414a9574a12b4fcf5b76549524f540 (diff)
Py/RNA Stability: don't allow python to reference freed ID's and crash.
Second method for not having python crash blender on invalid access (ifdef'd out ATM, so no functional change). This uses a weakref list per ID, and invalidates all members of that list when the ID is freed. the list is not stores in the ID pointer but using a hash table since storing python in DNA data is not acceptable. This is more correct then the previous method but shows down execution of scripts significantly since its always adding and removing from lists when data is created and freed.
Diffstat (limited to 'intern/ghost')
0 files changed, 0 insertions, 0 deletions