don't set the path to ~/untitled.blend on initializing the WM, this isn't well define...
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index 405aa5bd8afbad8bf966435cf27a122492eb02db..0d1dfd5fbbaa6634f338014989aa0c3f753aeb09 100644 (file)
@@ -177,8 +177,11 @@ void WM_init(bContext *C, int argc, char **argv)
        
        read_history();
 
+       /* allow a path of "", this is what happens when making a new file */
+       /*
        if(G.main->name[0] == 0)
                BLI_make_file_string("/", G.main->name, BLI_getDefaultDocumentFolder(), "untitled.blend");
+       */
 
        BLI_strncpy(G.lib, G.main->name, FILE_MAX);