Skip to content

Object set/rise info is not refreshed when atmosphere is toggled #4796

@kajaji

Description

@kajaji

Expected Behaviour

Rise/Set info change according to atmosphere on/off

Actual Behaviour

when turning atmosphere on or off the info of rise/set remains the same

Steps to reproduce

toggle atmosphere on and off while displaying for example sun set time

System

  • Stellarium version: <25.4>
  • Operating system: <windows 11>
  • Graphics Card: <Manufacturer (likely Intel, NVidia, AMD?), Model (HD, Geforce, Radeon..., with model number), driver version?>
    This is a script with the results:
    //Test object info across status change

LandscapeMgr.setFlagAtmosphere(false);
var sunInfor = core.getObjectInfo("Sun");
core.wait(0.5);
var sunSetDecHrs = sunInfor["set-dhr"];
core.debug(sunSetDecHrs),
core.wait(5.5);

LandscapeMgr.setFlagAtmosphere(true);
var sunInfor = core.getObjectInfo("Sun");
var sunSetDecHrs = sunInfor["set-dhr"];
core.debug(sunSetDecHrs);
Result:
Starting script at Mon Mar 2 23:08:41 2026
17.89
17.89
Script finished at Mon Mar 2 23:08:47 2026

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove existing functionalityimportance: lowSmall problem, rarely visible, no crashnot a bugThis is not a bug, it's a featurepurpose: didacticIssues, pull requests and proposals with didactic purposessubsystem: atmosphereThe issue is related to atmosphere subsystem of planetarium...

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions