-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
Making nodes enclosed within comment move with the comment node #54970
Making nodes enclosed within comment move with the comment node #54970
Conversation
3b21818
to
2de2da1
Compare
Thoughts from a Visual Script User. Looks pretty solid. I think it would help to organize and rearrange Visual Scripts. Is it possible to add a way to identify a comment when zoomed out or looking on the minimap ? Maybe an option to adjust the size of the Comment Title or tint different comment backgrounds different colors. Different background shapes for different comments? Something that stands out from a distance. Need a build to try out to give better feedback. |
@Anaxan As far as changing the appearance of comment nodes for better readability is considered, it is out of scope of this PR, as it is only targeted towards making combined movement of comment nodes and the nodes enclosed within them. |
2de2da1
to
840225b
Compare
@fire Should I add button/control to enable/disable the feature. Else, it is ready to be merged. Waiting for your reply.. |
I don’t see any reasoning to disable the feature. |
@fire Neither do I. This PR is ready to be merged then. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the feature proposal, and the code changes seem fairly straightforward 👍
I suggest that maybe @Chaosus would want to give this a quick check as this should be useful for Visual Shaders too.
I did such things with comment nodes myself privately, and less elegant than here. I personally like it - it works as expected. |
Thanks! |
Link to proposal
WIP 🚧Feature addition:
This PR adds the feature that binds the movement/positional changes of nodes enclosed with comment node they are enclosed in. Since the changes are made in
GraphEdit
module, this feature can be used in VisualScript/VisualShader editors and other modules that are built on top ofGraphEdit
. This will add to user experience as they don't have to select that particular bunch of nodes every time they want to move it.Features:
Button to toggle on/off this movement featureDemo
demo.mp4
Bugsquad edit: Closes godotengine/godot-proposals#3548