Blender Git Loki
Git Commits -> Revision 5455928
Revision 5455928 by Sergey Sharybin (master) May 7, 2013, 15:28 (GMT) |
Fix #35122: Blenderplayer crashes when loading level Issue was caused by ntreeUpdateTree calling for a ntree which is not in G.main. This lead to issues in ntreeVerifyNodes (which is called from ntreeUpdateTree). Made is so ntreeUpdateTree now accepts main as an argument. Will work for the release, later we could either solve the TODO mentioned in ntreeUpdateTree which will eliminate need in main there or make it so context's main is used from all over where ntreeUpdateTree is called (currently there're still some usages of G.main). |
Commit Details:
Full Hash: 5455928262c7b2e99c8eb9be13665d819c4089d5
SVN Revision: 56526
Parent Commit: c31ec62
Lines Changed: +64, -59
10 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+3, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_edit.c (+11, -11) (Diff)
/source/blender/editors/space_node/node_group.c (+8, -6) (Diff)
/source/blender/editors/space_node/node_relationships.c (+10, -9) (Diff)
/source/blender/editors/space_node/node_templates.c (+5, -4) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+21, -21) (Diff)
/source/blender/nodes/intern/node_exec.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+3, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -1) (Diff)
/source/blender/editors/space_node/node_add.c (+2, -2) (Diff)
/source/blender/editors/space_node/node_edit.c (+11, -11) (Diff)
/source/blender/editors/space_node/node_group.c (+8, -6) (Diff)
/source/blender/editors/space_node/node_relationships.c (+10, -9) (Diff)
/source/blender/editors/space_node/node_templates.c (+5, -4) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+21, -21) (Diff)
/source/blender/nodes/intern/node_exec.c (+2, -1) (Diff)