NodeWrangler: Fix #104598 Added SimNodes to reset ignore list #104599

Merged
Jacques Lucke merged 1 commits from F_Scociety/blender-addons:nw_multinode_resetfix into main 2023-05-12 13:56:23 +02:00

Then running the RESET operator from node wrangler while selecting one of the simulation nodes it would raise a error.
This adds both simulation nodes to the Ignore list, because the don't have any values connected.

For the future this could maybe become a problem, especially with different multi node nodes.
But currently I think there is no way for a python script to generally determine, if both nodes are part of a multi node setup.
The "Sim Input Node" has a "Paired_Output" attribute pointing to the "Sim Output Node", but the "Sim Output Node" doesn't have a reference to the "Sim Input Node".

This is a "Fix" for #104598

Then running the RESET operator from node wrangler while selecting one of the simulation nodes it would raise a error. This adds both simulation nodes to the Ignore list, because the don't have any values connected. For the future this could maybe become a problem, especially with different multi node nodes. But currently I think there is no way for a python script to generally determine, if both nodes are part of a multi node setup. The "Sim Input Node" has a "Paired_Output" attribute pointing to the "Sim Output Node", but the "Sim Output Node" doesn't have a reference to the "Sim Input Node". This is a "Fix" for #104598
Soeren Schmidt-Clausen added 1 commit 2023-05-10 23:35:23 +02:00
Member

Hi, thanks for the PR. Looks correct to me.
@JacquesLucke , can you check too?

Hi, thanks for the PR. Looks correct to me. @JacquesLucke , can you check too?
Soeren Schmidt-Clausen requested review from Jacques Lucke 2023-05-11 16:03:44 +02:00
Jacques Lucke approved these changes 2023-05-12 13:54:20 +02:00
Jacques Lucke left a comment
Member

Thanks!

Thanks!
Jacques Lucke merged commit 10ed91c843 into main 2023-05-12 13:56:23 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104599
No description provided.