Merge branch 'master' into blender2.8
authorCampbell Barton <ideasman42@gmail.com>
Mon, 22 Oct 2018 03:59:12 +0000 (14:59 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 22 Oct 2018 03:59:12 +0000 (14:59 +1100)
Reverts: 92fd931e536

1  2 
source/blender/windowmanager/intern/wm_files.c

@@@ -2166,7 -2092,8 +2166,8 @@@ static int wm_save_as_mainfile_exec(bCo
  {
        Main *bmain = CTX_data_main(C);
        char path[FILE_MAX];
 -      int fileflags;
 +      int fileflags, orig_fileflags;
+       const bool is_save_as = (op->type->invoke == wm_save_as_mainfile_invoke);
  
        save_set_compress(op);