Blender Git Loki
Git Commits -> Revision 8d87982
Revision 8d87982 by Lukas Toenne (master) August 7, 2013, 13:14 (GMT) |
Fix #36266, First undo in compositor decrements usercounter without a reason. The handling of scene backpointers in render layer/composite nodes changed slightly recently, which caused a double increment of the scene user count. The node->id pointer for these nodes is now initialized in the respective init callbacks already. The explicit assignment and increment in the ED_node_composit_default is not necessary and just adds an increment without checking previous values and decrementing them properly. Note that the current system still leaves the scene with "fake" users (rlayer + composite nodes) which are actually part of the scene data itself. But that's design issue with the "local" node tree data and doesn't do any real harm. |
Commit Details:
Full Hash: 8d879829da9b82d285e94ee8e408cbc2550692ad
SVN Revision: 58991
Parent Commit: 9bfbdd8
Lines Changed: +0, -4
1 Modified Path:
/source/blender/editors/space_node/node_edit.c (+0, -4) (Diff)