Blender Git Commit Log
Git Commits -> Revision 79c345a
Revision 79c345a by Lukas Toenne (master) May 7, 2014, 09:46 (GMT) |
Fix T40033: Jumping between versions can lead to loss of node storage data. Saving a file with a new blender node that uses bNode->storage data and then loading that in an older version will make the node undefined, but still retain the original type identifier (in case it is defined later). If the file is then saved over and loaded again in the newer version, where the node type is defined, it won't have a valid storage struct. To handle such cases gracefully, check if storage data is expected but doesn't exist when initializing node types. User then at least get a chance of fixing the problem manually. Suggested fix by @brecht. |
Commit Details:
Full Hash: 79c345acc21b2b82dfdfe6cf4c8606a07c90e434
Parent Commit: a8dddca
Lines Changed: +6, -0
1 Modified Path:
/source/blender/blenkernel/intern/node.c (+6, -0) (Diff)