diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-16 08:17:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-16 08:27:35 +0300 |
commit | 15c36170092d26b7d6106924270b6e590627fcb6 (patch) | |
tree | 5d0a7e27b35a7da9d13da4f782c1a3cc17fc3fd9 /source/blender/blenloader/BLO_writefile.h | |
parent | 4e98d974b596cdb7b04872b9c8fb43fc284696e9 (diff) |
Cleanup: simplify file saving logic
Revert part of the fix from 073669dd8588a3b80dfffee98b4f239b4baee8c8
that initialized the file-path on first save as it's no longer needed.
Also remove relbase argument to BLI_path_normalize as the destination
file paths shouldn't use relative locations.
Diffstat (limited to 'source/blender/blenloader/BLO_writefile.h')
-rw-r--r-- | source/blender/blenloader/BLO_writefile.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenloader/BLO_writefile.h b/source/blender/blenloader/BLO_writefile.h index 57b1199a870..9bc3714ff38 100644 --- a/source/blender/blenloader/BLO_writefile.h +++ b/source/blender/blenloader/BLO_writefile.h @@ -60,11 +60,6 @@ struct BlendFileWriteParams { uint use_save_versions : 1; /** On write, restore paths after editing them (see #BLO_WRITE_PATH_REMAP_RELATIVE). */ uint use_save_as_copy : 1; - /** - * Saving from the UI writes into the #Main.filepath, so a check for the `filepath` - * not having been set is needed. - */ - uint use_save_first_time : 1; uint use_userdef : 1; const struct BlendThumbnail *thumb; }; |