diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-04-17 19:55:10 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-04-17 19:55:10 +0400 |
commit | 3d7803225122476e5ea3db8da2585fcaff7c7f59 (patch) | |
tree | 0a95c03964eb6562f39c44242c35c1f72226f2b5 /source/blender/editors/space_node/space_node.c | |
parent | 45552a45950459e4bb83bc44d41eeaa5457bfdae (diff) |
Fix for node editor lib_link and memfile restore (undo): The snode->nodetree/first tree path pointer was not properly mapped on file load due to the fact that it's stored locally in other ID data blocks. Undo was restoring the pointer correctly, but used an ugly hack. Now the SpaceNode->id pointer is linked first, then the datablock is checked for an internal node tree, which is then used instead of trying to lib-link the node tree pointer.
Diffstat (limited to 'source/blender/editors/space_node/space_node.c')
0 files changed, 0 insertions, 0 deletions