Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphEdit connection wires not drawn with same opacity as ports #92443

Closed
Naros opened this issue May 27, 2024 · 0 comments · Fixed by #93999
Closed

GraphEdit connection wires not drawn with same opacity as ports #92443

Naros opened this issue May 27, 2024 · 0 comments · Fixed by #93999
Assignees
Milestone

Comments

@Naros
Copy link
Contributor

Naros commented May 27, 2024

Tested versions

4.3.dev6 official

System information

Windows 11

Issue description

In Godot 4.2, when using GraphNode::set_slot_color_left or GraphNode::set_slot_color_right, the connection wires were updated and drawn with the new color such that if user code set the slot's color with an alpha value less than 1.0, the connection wires would be drawn dimmed to match the corresponding ports.

In Godot 4.3, this is no longer the case, and the change in the slot's color, and in our case the alpha, does not cause the connection wire layer to be redrawn.

Steps to reproduce

  1. Add two GraphNode to a GraphEdit
  2. Connect the output port on one GraphNode to the input port on the other GraphNode
  3. Change the output slot and input slot colors accordingly using GraphNode::set_slot_color_xxxx functions
  4. The connection wire remains drawn with the previous colors.
  5. Moving either node causes the connection layer to be redrawn and the connection wire drawn with the correct colors.

Minimal reproduction project (MRP)

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants