Skip to content
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

Fix infinite recursion when you link gearboxes in a loop #330

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix infinite recursion when you link gearboxes in a loop #330

wants to merge 2 commits into from

Conversation

norrbotten
Copy link

Its possible to link gearboxes in a loop which causes some some pretty bad issues when you power it.

Example of such setup

This fix stops people from linking gearboxes in loops by basically just searching the links from the target gearbox back to the source. If the source is found the link will fail. It doesn't actually fix the issue of the infinite recursion itself, it just makes it impossible to create the setup needed for it.

After fix

Mista-Tea added a commit to IJWTB/ACF that referenced this pull request May 7, 2020
… in a loop

norrbotten commented on Aug 19, 2019

"Its possible to link gearboxes in a loop which causes some some pretty bad issues when you power it.

Example of such setup https://i.imgur.com/qLvHx9R.jpg

This fix stops people from linking gearboxes in loops by basically just searching the links from the target gearbox back to the source. If the source is found the link will fail. It doesn't actually fix the issue of the infinite recursion itself, it just makes it impossible to create the setup needed for it.

After fix https://i.imgur.com/9HHZFqh.jpg"
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