Partially altered loose sockets have non-deterministic ordering #28
Labels
No labels
abstractions
architecture
bug
distribution
docs
duplicate
enhancement
feature
physical
proposal
question
simulation
tooling
tracker
unconfirmed
ux
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#29
BoundConds
socket set injects axes in strange order
so-rose/oscillode
Reference: so-rose/oscillode#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When setting loose sockets, we expect that order is preserved from the definition. This is currently not the case, if there is overlap, since the existing "already made (by name)" sockets are simply kept and not removed, whilst sockets that maybe "should" come before are now made after (all in node
base.py
).The answer lies within the Blender Python API's ability to reorder sockets (I think it was a
move()
method or something).self.loose_input_sockets
already has the correct ordering; all we need is an algorithm to construct a series of move operations to match that ordering.BoundConds
socket set injects axes in strange order #29BoundConds
socket set injects axes in strange orderFixed using
.move()
after eachsync_sockets
. Elegant, non-destructive, and seemingly devoice of FOUC.