aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/audio_driver_javascript.cpp
diff options
context:
space:
mode:
authorrobfram2018-03-17 18:52:39 +0100
committerHein-Pieter van Braam2018-04-28 17:22:29 +0200
commit7563c17113790fe66a816c781001791bd571ef3c (patch)
tree3da83263b28522dd28acf403dd4d2713ca468cdd /platform/javascript/audio_driver_javascript.cpp
parent43dcf239901acfb6e2e27126b611c7b0da919798 (diff)
downloadgodot-7563c17113790fe66a816c781001791bd571ef3c.tar.gz
godot-7563c17113790fe66a816c781001791bd571ef3c.tar.zst
godot-7563c17113790fe66a816c781001791bd571ef3c.zip
Fix saving unmodified scenes and resources
When `_save_all_scenes` or `save_resource_in_path` was called, they always saved all the scenes and the resource no matter if they were modified or not. For example, when `saving before run` option was checked, it always overwrote the current scene and the default environment simply by opening and runing the project. This PR adds checks for unsaved scenes (using the same `unsave` check others method used) and modified resources (comparing last modified time and last import time). Fix #6025. (cherry picked from commit 28ab60422d648d43d219186ea0ecffce1645188f)
Diffstat (limited to 'platform/javascript/audio_driver_javascript.cpp')
0 files changed, 0 insertions, 0 deletions