Tidal-Stream / ProceduralParts

A continuation of StretchySRBs, which is a continuation of StretchyTanks
8 stars 15 forks source link

Attempt to re-root to surface-attached part results in infinite loop. #15

Open whale2 opened 5 years ago

whale2 commented 5 years ago

Steps to reproduce: Add proc tank Attach any other part to it by surface-attaching it. Re-root the vessel with surface-attached part being new root.

https://i.imgur.com/wTKh4oV.png

I'm pretty sure the code goes into infinite loop here: https://github.com/Tidal-Stream/ProceduralParts/blob/master/Source/ProceduralPart.cs#L1380

but I don't have enough experience with KSP editor internals.

astro-stan commented 5 years ago

+1. See the attached issue.