Fix T45423: depsgraph: crash in IDDepsNode::tag_update
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 14 Jul 2015 09:19:27 +0000 (11:19 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 14 Jul 2015 09:21:04 +0000 (11:21 +0200)
commit82740cd282636fe318c3e4c7c3b1c2033857350d
tree6e904ad999a48b4ab3c1428641a482d7955cce57
parent9c80e52a89ca1d514c57700e4916ee890c53c4c7
Fix T45423: depsgraph: crash in IDDepsNode::tag_update

Two issues fixed in this commit:

- Clearing or adding animation via python should ensure relations are valid.
- Animation component animation data might be null caused by removing animation
  from python.
source/blender/depsgraph/intern/depsnode.cc
source/blender/makesrna/intern/rna_ID.c