diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-30 02:54:41 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-30 02:54:41 +0300 |
commit | a96f6f2e15af08a9eb2f0ea4567abaddecdf5ac0 (patch) | |
tree | d430fd027cdafbf12ac854c32835b732824c8746 /release | |
parent | 2bef608fb391fda4c87238abf10e2d3823a883d8 (diff) |
* Moved rotation initialisation code for new objects to 'the other' add object function that campbell fixed earlier. This should mean that the py-api does everything in the right way now.
* Tried adding 'Load Factory Settings' to File menu, but I seem to be running up against some RNA bugs. Can be removed if is too problematic.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/space_info.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py index acbf44eb532..a9365ad2ecb 100644 --- a/release/scripts/ui/space_info.py +++ b/release/scripts/ui/space_info.py @@ -83,12 +83,18 @@ class INFO_MT_file(bpy.types.Menu): layout.operator("wm.save_mainfile", text="Save", icon='ICON_FILE_TICK') layout.operator_context = 'INVOKE_AREA' layout.operator("wm.save_as_mainfile", text="Save As...") + + layout.separator() + layout.operator("screen.userpref_show", text="User Preferences...", icon='ICON_PREFERENCES') + layout.operator("wm.read_homefile", text="Load Factory Settings").factory = True layout.separator() + layout.operator_context = 'INVOKE_AREA' layout.operator("wm.link_append", text="Link") layout.operator("wm.link_append", text="Append").link = False + layout.separator() layout.menu("INFO_MT_file_import") |