Conversation
As a note, that actually seems to be finding the last settings node. Is that intentional? |
|
I also noticed that, which is why I didn't remove it. Seems to be incredibly fragile behavior if intended. |
|
That appears to be carried over from the original RealSolarSystem source: |
|
Is anything in this file actually needed for AdvancedPQSTools? It all seems RSS-specific, if it isn't actually useful/needed it would probably be best to remove it. |
From my understanding of what this code does, which is resetting flight states and near clip/far clip plane camera settings in the event of another mod changing something, I don’t see how that is incredibly RSS specific nor unneeded |
|
I just checked, and AdvancedPQSTools doesn't even contain the config that would make this work. |
|
Those are in Sol though? https://github.com/RSS-Reborn/Sol-Configs/blob/main/Sol-Configs/Patches/Sol-RSSConfiguration.cfg |
|
Ah, so they are.
Should we fix this? I can make it instead look for the ADVANCEDPQSTOOLS node with a ClipPlanes node in it. |
|
Yeah that'd be ideal |
|
Done, ready for merge |
Consistent NRE would show up when loading into the space center scene, as Settings could be null
Sidenote:
What is this supposed to be doing?
If it's supposed to be finding the first node, why not use FirstOrDefault?