Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix saving wrong edited scene state when switching scene tabs #83251

Merged

Commits on Oct 17, 2023

  1. Fix saving wrong edited scene state when switching scene tabs

    When creating a new scene, the scene tab will actually switch to the newly created one.
    Also worth noting that switching scene tabs saves state (by `save_edited_scene_state`).
    
    When trying New Scene again, the previously empty scene tab will be removed.
    
    So the correct logic is: switch the tab save state first, and then remove the previous
    empty scene tab. To prevent `current_edited_scene` from being incorrect when saving state.
    Rindbee committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    225a5e2 View commit details
    Browse the repository at this point in the history