Blender Git Commit Log

Git Commits -> Revision 2881473

Revision 2881473 by Lukas Toenne (master)
April 2, 2014, 09:04 (GMT)
Fix T39547: Toggling render passes on active scene does not update
render layer nodes in a pinned tree from different scene.

The way these updates work is a nasty legacy hack:
https://developer.blender.org/diffusion/B/browse/master/source/blender/nodes/composite/node_composite_tree.c$277

This function is called //very frequently// by the get_from_context
method. However, this does not get called for pinned node trees, so
when showing a different scene's compositing nodes in the editor they
may not get updated correctly.

Now moved this update call out of get_from_context so it happens in any
case. Will be called no more frequently than before (on every redraw).
Eventually the depsgraph should handle this more precisely, it's just a
simple ID dependency anyway ...

Commit Details:

Full Hash: 288147334ce81cf0be533c15f3698b88ef7c63f3
Parent Commit: eed3974
Lines Changed: +8, -4

2 Modified Paths:

/source/blender/editors/space_node/node_edit.c (+8, -0) (Diff)
/source/blender/nodes/composite/node_composite_tree.c (+0, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021