[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23757] trunk/blender: * Added the new Render Icons to the menu as well.
Thomas Dinges
dingto at gmx.de
Sat Oct 10 11:34:23 CEST 2009
Revision: 23757
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23757
Author: dingto
Date: 2009-10-10 11:34:22 +0200 (Sat, 10 Oct 2009)
Log Message:
-----------
* Added the new Render Icons to the menu as well.
* Added Tooltips for Help Scripts.
* Minor tweak to Continuous Grab Tooltip, as it now works on Mac too.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_info.py
trunk/blender/source/blender/makesrna/intern/rna_userdef.c
Modified: trunk/blender/release/scripts/ui/space_info.py
===================================================================
--- trunk/blender/release/scripts/ui/space_info.py 2009-10-10 08:40:44 UTC (rev 23756)
+++ trunk/blender/release/scripts/ui/space_info.py 2009-10-10 09:34:22 UTC (rev 23757)
@@ -85,7 +85,6 @@
layout.itemO("import.3ds", text="3DS")
layout.itemO("import.obj", text="OBJ")
-
class INFO_MT_file_export(bpy.types.Menu):
__label__ = "Export"
@@ -99,7 +98,6 @@
layout.itemO("export.ply", text="PLY")
layout.itemO("export.x3d", text="X3D")
-
class INFO_MT_file_external_data(bpy.types.Menu):
__label__ = "External Data"
@@ -170,8 +168,8 @@
rd = context.scene.render_data
- layout.itemO("screen.render", text="Render Image")
- layout.item_booleanO("screen.render", "animation", True, text="Render Animation")
+ layout.itemO("screen.render", text="Render Image", icon='ICON_RENDER_STILL')
+ layout.item_booleanO("screen.render", "animation", True, text="Render Animation", icon='ICON_RENDER_ANIMATION')
layout.itemS()
@@ -194,7 +192,6 @@
layout.itemO("help.user_community", icon='ICON_URL')
layout.itemS()
layout.itemO("help.operator_cheat_sheet")
-
bpy.types.register(INFO_HT_header)
bpy.types.register(INFO_MT_file)
@@ -221,31 +218,37 @@
return ('FINISHED',)
class HELP_OT_manual(HelpOperator):
+ '''The Blender Wiki manual'''
__idname__ = "help.manual"
__label__ = "Manual"
__URL__ = 'http://wiki.blender.org/index.php/Manual'
class HELP_OT_release_logs(HelpOperator):
+ '''Information about the changes in this version of Blender'''
__idname__ = "help.release_logs"
__label__ = "Release Logs"
__URL__ = 'http://www.blender.org/development/release-logs/'
class HELP_OT_blender_website(HelpOperator):
+ '''The official Blender website'''
__idname__ = "help.blender_website"
__label__ = "Blender Website"
__URL__ = 'http://www.blender.org/'
class HELP_OT_blender_eshop(HelpOperator):
+ '''Buy official Blender resources and merchandise online'''
__idname__ = "help.blender_eshop"
__label__ = "Blender e-Shop"
__URL__ = 'http://www.blender3d.org/e-shop'
class HELP_OT_developer_community(HelpOperator):
+ '''Get involved with Blender development'''
__idname__ = "help.developer_community"
__label__ = "Developer Community"
__URL__ = 'http://www.blender.org/community/get-involved/'
class HELP_OT_user_community(HelpOperator):
+ '''Get involved with other Blender users'''
__idname__ = "help.user_community"
__label__ = "User Community"
__URL__ = 'http://www.blender.org/community/user-community/'
@@ -275,7 +278,6 @@
print("See OperatorList.txt textblock")
return ('FINISHED',)
-
bpy.ops.add(HELP_OT_manual)
bpy.ops.add(HELP_OT_release_logs)
bpy.ops.add(HELP_OT_blender_website)
@@ -283,4 +285,3 @@
bpy.ops.add(HELP_OT_developer_community)
bpy.ops.add(HELP_OT_user_community)
bpy.ops.add(HELP_OT_operator_cheat_sheet)
-
Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c 2009-10-10 08:40:44 UTC (rev 23756)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c 2009-10-10 09:34:22 UTC (rev 23757)
@@ -1657,7 +1657,7 @@
prop= RNA_def_property(srna, "continuous_mouse", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_CONTINUOUS_MOUSE);
- RNA_def_property_ui_text(prop, "Continuous Grab", "Experimental option to allow moving the mouse outside the view (Linux only at the moment)");
+ RNA_def_property_ui_text(prop, "Continuous Grab", "Experimental option to allow moving the mouse outside the view");
prop= RNA_def_property(srna, "global_pivot", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_LOCKAROUND);
More information about the Bf-blender-cvs
mailing list