[Bf-blender-cvs] [aab165b575c] master: Cleanup: remove unnecessary flag clearing

Campbell Barton noreply at git.blender.org
Thu Jun 18 06:31:37 CEST 2020


Commit: aab165b575ce312675e543f519c962cbf9939d34
Author: Campbell Barton
Date:   Thu Jun 18 13:23:00 2020 +1000
Branches: master
https://developer.blender.org/rBaab165b575ce312675e543f519c962cbf9939d34

Cleanup: remove unnecessary flag clearing

This is not read from blend files.

===================================================================

M	source/blender/windowmanager/intern/wm_files.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index d4b87a44da1..1ecfbfb4b8d 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1110,11 +1110,6 @@ void wm_homefile_read(bContext *C,
   }
 
   if (use_data) {
-    /* Prevent buggy files that had G_FILE_RELATIVE_REMAP written out by mistake.
-     * Screws up autosaves otherwise can remove this eventually,
-     * only in a 2.53 and older, now its not written. */
-    G.fileflags &= ~G_FILE_RELATIVE_REMAP;
-
     if (reset_app_template) {
       /* Always load UI when switching to another template. */
       G.fileflags &= ~G_FILE_NO_UI;



More information about the Bf-blender-cvs mailing list