diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2007-03-02 21:15:41 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2007-03-02 21:15:41 +0300 |
commit | cf75e5b78cf197ce24551db2d084be90adecfb78 (patch) | |
tree | 5d1dada0cb799cf45ffebe1e3bceff2e1da0d132 /source/blender/python/api2_2x/Blender.c | |
parent | b2acdd69b037b8363dd2c214ccc0a2af691ab017 (diff) |
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)").
Diffstat (limited to 'source/blender/python/api2_2x/Blender.c')
-rw-r--r-- | source/blender/python/api2_2x/Blender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c index e6f98b0e8d3..4700c221bff 100644 --- a/source/blender/python/api2_2x/Blender.c +++ b/source/blender/python/api2_2x/Blender.c @@ -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 ); |