Closed Tuupertunut closed 3 years ago
I found the issue. Scatterer has changed the way sunflares are discovered. Before they were discovered from the sunflares
node in Scatterer_planetsList
, but now they are discovered just by listing all Scatterer_sunflare
nodes in the config. The star Robau has a Scatterer_sunflare
node, so its sunflare was enabled even when the star doesn't exist, this caused scatterer to crash. Adding :NEEDS[GEP,OPM]
to the Robau sunflare fixed the issue.
Now there's just one more problem: Ciro is showing the default scatterer sunflare, not the Ciro one.
Found that one too. The Ciro default sunflare issue is caused by the new sunflare syntax. Scatterer does still support the old syntax but GPP creates the Scatterer_sunflare
node for Sun by editing the Scatterer default, which now uses the new syntax. The different syntaxes become mixed and the Scatterer default is used. This is fixed by removing the default Sun sunflare node and creating a new one, instead of editing it.
I made a PR #71 that fixes this.
KSP version: 1.12.1 GPP version: 1.6.5.0 as well as latest master (4fecc66)
Description: With Scatterer versions 0.0767 and later, the atmosphere is not visible (black sky). The atmosphere is normal with Scatterer 0.0723. The log is spammed with the following exceptions with 0.0767 and later. There are no such exceptions with 0.0723.
There were changes in Scatterer sunflare syntax in 0.0767 that might be causing these problems. https://github.com/LGhassen/Scatterer/releases/tag/0.0767 Although, Scatterer still claims to support the old sunflare syntax.
How to reproduce: