Updating render layer and image output sockets was not working due to changes in snode_set_context. Before the r39941 this used a hack to 'test for first drawing', but since the snode->nodetree was set to NULL each time at the start of that function the condition would always evaluate true anyway. Simply removed that check to restore previous behavior.
This commit is contained in:
@@ -447,9 +447,8 @@ void snode_set_context(SpaceNode *snode, Scene *scene)
|
||||
else if(snode->treetype==NTREE_COMPOSIT) {
|
||||
snode->id= &scene->id;
|
||||
|
||||
/* bit clumsy but reliable way to see if we draw first time */
|
||||
if(snode->nodetree==NULL)
|
||||
ntreeCompositForceHidden(scene->nodetree, scene);
|
||||
/* update output sockets based on available layers */
|
||||
ntreeCompositForceHidden(scene->nodetree, scene);
|
||||
}
|
||||
else if(snode->treetype==NTREE_TEXTURE) {
|
||||
Tex *tx= NULL;
|
||||
|
||||
Reference in New Issue
Block a user