[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30506] trunk/blender/release/scripts/ui/ space_info.py: Add a "Save Copy" entry in the File menu.

Xavier Thomas xavier.thomas.1980 at gmail.com
Mon Jul 19 19:45:04 CEST 2010


Revision: 30506
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30506
Author:   xat
Date:     2010-07-19 19:45:03 +0200 (Mon, 19 Jul 2010)

Log Message:
-----------
Add a "Save Copy" entry in the File menu.

Modified Paths:
--------------
    trunk/blender/release/scripts/ui/space_info.py

Modified: trunk/blender/release/scripts/ui/space_info.py
===================================================================
--- trunk/blender/release/scripts/ui/space_info.py	2010-07-19 17:39:25 UTC (rev 30505)
+++ trunk/blender/release/scripts/ui/space_info.py	2010-07-19 17:45:03 UTC (rev 30506)
@@ -93,6 +93,8 @@
         layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK').check_existing = False
         layout.operator_context = 'INVOKE_AREA'
         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()
 





More information about the Bf-blender-cvs mailing list