Closed Cospero closed 1 month ago
The recent update in the software involves a modification in the SceneScreen.cs
file of the BEngineEditor. This change ensures that the current scene is conditionally saved before altering the runtime state in the Display
method, enhancing data integrity and user experience during scene transitions.
File Path | Change Summary |
---|---|
.../UI/Screens/SceneScreen.cs |
Added conditional scene saving before swiping runtime state in Display |
🐰✨ In the land of code, where scenes intertwine, A clever rabbit tweaked the design. "Save before you swipe," it said with a cheer, Ensuring your data stays safe and near. Hop, skip, a jump in the code so bright, Now everything runs just right! 🌟 🐰✨
BEngineEditor/Code/UI/Screens/SceneScreen.cs (1)
`33-36`: Ensure thread safety when saving the scene. The method `_projectContext.CurrentProject.SaveCurrentScene()` is called conditionally based on the runtime state. Please verify that this method is thread-safe, especially since it might be invoked from the UI thread and could potentially interact with resources that are also accessed from other threads.
close #62
Summary by CodeRabbit