Page 1 of 1
[boskid] Deconstruction planner lets you remove rail supports without removing the supported rails
Posted: Wed Dec 04, 2024 10:52 pm
by stokastic
Reproduction is simple - build elevated rails, and then use a deconstruction planner with only the supports specified (or use alt-d and manually only highlight the supports individually). The entire rails will be left floating in mid air and is still fully usable. Copy pasting the floating rails produces a ghost which cannot be built until the supports are placed back.

- Screenshot from 2024-12-04 17-53-07.png (501.96 KiB) Viewed 922 times
video of repro:
Re: Deconstruction planner lets you remove rail supports without removing the supported rails
Posted: Wed Dec 04, 2024 10:57 pm
by boskid
Thanks for the report. Can you reproduce this without usage of editor?
Re: Deconstruction planner lets you remove rail supports without removing the supported rails
Posted: Wed Dec 04, 2024 11:01 pm
by stokastic
I cannot, it seems to only occur in the editor where the deletion happens instantly
Re: Deconstruction planner lets you remove rail supports without removing the supported rails
Posted: Wed Dec 04, 2024 11:06 pm
by boskid
Given that this is only under editor i am considering this to be a minor issue since the rail supports code was made in a slightly forgiving way in terms of what editor and script can do. The only suspicious part that suggests it is not a complete "not a bug" is that the highlight of the selection tool (deconstruction planner) suggests that rails will also get removed however they are not removed which is suspicious that may need to be handled and which makes me not move this to minor issues for now.
Re: [boskid] Deconstruction planner lets you remove rail supports without removing the supported rails
Posted: Tue Dec 10, 2024 4:03 pm
by boskid
Thanks for the report. For 2.0.25 i changed the deconstruction planner logic slightly so it correctly processes dependant entities even if entities are immediately destroyed.