diff --git a/src/app/App.tsx b/src/app/App.tsx index 07b7e3bf..3af8a24b 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -10342,6 +10342,19 @@ export function App({ store, initialStatusMessage }: AppProps) { ); }; + const applySceneShowCelestialBodies = (enabled: boolean) => { + applyWorldSettings( + { + ...editorState.document.world, + showCelestialBodies: enabled + }, + enabled ? "Enable celestial body overlay" : "Disable celestial body overlay", + enabled + ? "Sun and moon overlays now render in the sky." + : "Sun and moon overlays are now hidden." + ); + }; + const applyAdvancedRenderingSettings = ( label: string, successMessage: string, @@ -13900,6 +13913,27 @@ export function App({ store, initialStatusMessage }: AppProps) { +