Page MenuHome

Composite nodes: adding a viewer before doing anything else does wrong connections
Closed, ResolvedPublic

Description

- Open blender (....)
- Choose compositing screen
- Click on use nodes
- Choose Add viewer

The automatic links are wrong, see attachments.

linux 32, rev.30523

Event Timeline

mindrones edited a custom field.Jul 20 2010, 12:38 PM

Hi,

It's not a bug, you have two node selected (the Render and the Composite) so blender found the Composite node, that is why don't have any connection, if you click in the Render node before add the Viewer, work fine.

Thanks,

- Diego

Hi again,

I check on 2.4x, and work fine, you are right, there is some thing wrong here.
Sorry, reopen, I will take a look later.

- Diego

Hi,

OK but why connecting the alpha?
It should do nothing and just create the viewer no? It may happen that one doesntt see what's selected, a bit annoying IMO :)

Thanks, Luca

ah ok, changing the status to open then :)

IIRC the auto-connect function loops through the output sockets and uses the first open one -- what is the correct behavior because someone apparently intentionally coded this 'feature'?

From the commit log:


Fix #22922: adding new nodes didn't add them at the mouse location. This also caused auto connect to not work in some cases, because that now orders nodes and only connects if the new node is to the right of the old node.

I doubted between always connecting to the new node as output or keeping this ordering trick also when adding nodes. Decided on the latter because then you can also add a node between two others and have it auto connect to both.

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Resolved.Sep 23 2010, 10:17 PM