don't set the path to ~/untitled.blend on initializing the WM, this isn't well defined how this behavior should work,
existing behavior was inconsistent since loading a new file would set the path to "".
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user