Page MenuHome

Make sure output is enabled before connecting in node wrangler
ClosedPublic

Authored by Omar Ahmad (OmarSquircleArt) on Jun 22 2019, 2:57 PM.

Details

Summary

Sometime, nodes have unavailable/disabled outputs. This patch makes sure those outputs are not connected by the Node Wrangler.

Diff Detail

Event Timeline

Jacques Lucke (JacquesLucke) requested changes to this revision.Jun 22 2019, 3:50 PM

It would probably be better to make an utility function like is_visible(socket) instead of duplicating that logic multiple times.

This revision now requires changes to proceed.Jun 22 2019, 3:50 PM

@Jacques Lucke (JacquesLucke) A disabled socket can still be visible. Perhaps is_valid_socket(socket) would be a better name?

  • Add a utilitie function is_visible_socket
This revision is now accepted and ready to land.Jun 22 2019, 5:03 PM