Skip to content

Make unsaved scene dialog more accurate#116265

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
Klology:Making-unsaved-changes-dialog-more-accurate
Feb 16, 2026
Merged

Make unsaved scene dialog more accurate#116265
Repiteo merged 1 commit into
godotengine:masterfrom
Klology:Making-unsaved-changes-dialog-more-accurate

Conversation

@Klology

@Klology Klology commented Feb 14, 2026

Copy link
Copy Markdown

Fixes #116224

Updated the last saved dialog to now show the time since the scene was opened if it hasn't been saved since. Previously it would just show the time since the editor itself was opened.

4.6 when the scene was actually saved several minutes ago:
image

This pr when the scene was last saved before it was opened:
image

This pr when the scene was last saved after it was opened (same as 4.6):
image

@Klology Klology requested review from a team as code owners February 14, 2026 00:25
@Klology Klology force-pushed the Making-unsaved-changes-dialog-more-accurate branch from e311670 to f928820 Compare February 14, 2026 09:18
Comment thread scene/main/node.h
@Klology Klology force-pushed the Making-unsaved-changes-dialog-more-accurate branch from f928820 to 680a731 Compare February 14, 2026 22:33
Comment thread editor/editor_data.h Outdated
Comment thread editor/editor_node.cpp Outdated
Comment thread editor/editor_node.cpp
… the scene was last saved before the editor was stared instead of editor startup time.
@Klology Klology force-pushed the Making-unsaved-changes-dialog-more-accurate branch from 680a731 to 4a823dc Compare February 15, 2026 21:30
Comment thread editor/editor_node.cpp

// Consider editor startup to be a point of saving, so that when you
// Consider scene opening to be a point of saving, so that when you
// close and reopen the editor, you don't get an excessively long

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// close and reopen the editor, you don't get an excessively long
// close and reopen the scene, you don't get an excessively long
@KoBeWi KoBeWi added this to the 4.7 milestone Feb 15, 2026
@AThousandShips AThousandShips changed the title Updating unsaved scene dialog to be more accurate Feb 16, 2026
@AThousandShips AThousandShips changed the title Make unsaved scene dialog to be more accurate Feb 16, 2026
@Repiteo Repiteo merged commit 349a07c into godotengine:master Feb 16, 2026
20 checks passed
@Repiteo

Repiteo commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Thanks! Congratulations on your first merged contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment