Skip to content

New signal implemented that is raised when a pipe is dragged off a node and dropped into empty space#505

Open
rolalzebub wants to merge 2 commits into
jchanvfx:mainfrom
rolalzebub:main
Open

New signal implemented that is raised when a pipe is dragged off a node and dropped into empty space#505
rolalzebub wants to merge 2 commits into
jchanvfx:mainfrom
rolalzebub:main

Conversation

@rolalzebub

Copy link
Copy Markdown

I found that something I wanted to implement was a feature similar to Unreal Engine's Blueperint Editor where when you drag a pipe off a port and drop it in empty space, it raises the node search menu and lets you create the specified node and the cursor's position and connect its input to the pipe that has been dragged. In following the standards already in place, I implemented a pipe_dropped_on_empty to inform the graph when the trigger happens, and let the user implement the functionality for this trigger.

Also, I made the internal module imports within the project relative paths so that this library can be used as a git submodule just as easily as a py package.

…ust as easily as a pip

- Added a signal that is called when a pipe is dragged off a node and dropped in empty space - useful for things like dragging off a node and spawning a node creation menu at the cursor target, and wiring up the connection automatically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant