Interface:

Added option "Load Factory Settings" in the "File" menu.

With this, users don't have to remove .B.blend if they want to load the default data stored in Blender. Thanks Ton for ok'ing it and suggesting a better place in the menu (I had put it as "New (factory defaults)").
This commit is contained in:
2007-03-02 18:15:41 +00:00
parent b2acdd69b0
commit cf75e5b78c
5 changed files with 15 additions and 9 deletions

View File

@@ -640,7 +640,7 @@ static PyObject *Blender_Load( PyObject * self, PyObject * args )
* enough here. Note: the default file requires extra clean-up done by
* BIF_read_homefile: freeing the user theme data. */
if( !fname || ( strstr( fname, ".B.blend" ) && is_blend_file ) )
BIF_read_homefile( );
BIF_read_homefile(0);
else
BIF_read_file( fname );