Skip to content

Conversation

xxSeys1
Copy link
Contributor

@xxSeys1 xxSeys1 commented Jun 13, 2025

This pr adds the ability to move all connections to a box to a different box (see video).
For that I refactored visject to allow for multiple IConnectionInstigators.

This pr also fixes doing a connection with a box that already has a connection. Before, the old connection would be cleared and no new one would be created. Now this works as expected.

I am unsure about how I get if the user is pressing the Ctrl key, idk if I chose the right way (see Box.cs L 553 in changed files).

That edgecase with the bool and node has been fixed :)

ConnectionMove.mp4

TODO

  • Fix primary context menu
  • Fix edgecase shown in video with bool AND node

@xxSeys1 xxSeys1 marked this pull request as draft June 13, 2025 21:09
@xxSeys1 xxSeys1 marked this pull request as ready for review June 13, 2025 22:57
@xxSeys1
Copy link
Contributor Author

xxSeys1 commented Jun 13, 2025

Marked as ready for review because it's fundamentally working now. Just need to eliminate that one edge case

@mafiesto4 mafiesto4 added enhancement New feature or request editor visject Visject surface used by materials, particles, visual scripts and more labels Jun 26, 2025
@mafiesto4 mafiesto4 added this to the 1.11 milestone Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor enhancement New feature or request visject Visject surface used by materials, particles, visual scripts and more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants