Add a "Save Copy" entry in the File menu.

This commit is contained in:
Xavier Thomas
2010-07-19 17:45:03 +00:00
parent aa0e4277a2
commit e24d90acad

View File

@@ -93,6 +93,8 @@ class INFO_MT_file(bpy.types.Menu):
layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK').check_existing = False layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK').check_existing = False
layout.operator_context = 'INVOKE_AREA' layout.operator_context = 'INVOKE_AREA'
layout.operator("wm.save_as_mainfile", text="Save As...") layout.operator("wm.save_as_mainfile", text="Save As...")
layout.operator_context = 'INVOKE_AREA'
layout.operator("wm.save_as_mainfile", text="Save Copy...").copy = True
layout.separator() layout.separator()