Blender Git Commit Log
Git Commits -> Revision 0c91ebf
Revision 0c91ebf by Lukas Toenne (master) June 12, 2013, 11:26 (GMT) |
Fix #35703, Viewer node doesn't updates image sometimes. The viewer node was not getting correctly initialized node->id pointer to the Viewer image (thanks to Sergey for figuring that out). The original proposal was to add another special init hack for the viewer node->id, but rather would do it right and so moved all the special init hacks for constant ID backpointers (Scene for RenderLayer, Composite, Defocus, FileOutput and MovieClip for MovieClip, MovieDistortion and Stabilization nodes). These are now part of the local init callbacks functions of the appropriate nodes, using the new initfunc_api callback which takes a Context pointer, so they have access to Scene. |
Commit Details:
Full Hash: 0c91ebfeee94500ebd76d15119261c6d0f72b41f
SVN Revision: 57410
Parent Commit: 793e582
Lines Changed: +158, -98
16 Modified Paths:
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/node.c (+3, -0) (Diff)
/source/blender/editors/space_node/node_add.c (+0, -16) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -17) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_composite.c (+13, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_defocus.c (+10, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+79, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_movieclip.c (+9, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_moviedistortion.c (+13, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+2, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_splitViewer.c (+4, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_stabilize2d.c (+11, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+4, -0) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+5, -57) (Diff)
/source/blender/nodes/NOD_composite.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+3, -0) (Diff)
/source/blender/editors/space_node/node_add.c (+0, -16) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+1, -17) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/blender/nodes/composite/nodes/node_composite_composite.c (+13, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_defocus.c (+10, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+79, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_movieclip.c (+9, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_moviedistortion.c (+13, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+2, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_splitViewer.c (+4, -0) (Diff)
/source/blender/nodes/composite/nodes/node_composite_stabilize2d.c (+11, -2) (Diff)
/source/blender/nodes/composite/nodes/node_composite_viewer.c (+4, -0) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+5, -57) (Diff)
/source/blender/nodes/NOD_composite.h (+2, -0) (Diff)