Skip to content

Commit

Permalink
fix(GraphView): allow to connect node reference inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
berdal84 committed May 17, 2024
1 parent e5d75fd commit 19335f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nodable/gui/GraphView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,10 @@ void CreateNodeContextMenu::update_cache_based_on_signature()
{
// we can connect anything to a code flow slot
}
else if ( dragged_slot->allows(SlotFlag_INPUT) && dragged_slot->get_property_type()->is<PoolID<Node>>() )
{
// we can connect anything to a Node ref input
}
else if ( action->event_data.node_signature )
{
// discard incompatible signatures
Expand Down

0 comments on commit 19335f0

Please sign in to comment.