[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28059] trunk/blender/source/blender/ makesrna/intern/rna_userdef.c: Clarify tooltip for 'Align to View' option for adding objects -

Matt Ebb matt at mke3.net
Wed Apr 7 03:51:36 CEST 2010


Revision: 28059
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28059
Author:   broken
Date:     2010-04-07 03:51:32 +0200 (Wed, 07 Apr 2010)

Log Message:
-----------
Clarify tooltip for 'Align to View' option for adding objects - 
It can only align to 3D view when adding the object from a 3d View (eg. shift A), 
not the top level add menu.

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_userdef.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_userdef.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_userdef.c	2010-04-07 01:21:10 UTC (rev 28058)
+++ trunk/blender/source/blender/makesrna/intern/rna_userdef.c	2010-04-07 01:51:32 UTC (rev 28059)
@@ -2064,8 +2064,8 @@
 		{0, NULL, 0, NULL, NULL}};
 		
 	static const EnumPropertyItem object_align_items[]= {
-		{0, "WORLD", 0, "World", "Align newly added objects facing the 3D View direction"},
-		{USER_ADD_VIEWALIGNED, "VIEW", 0, "View", "Align newly added objects to the world coordinates"},
+		{0, "WORLD", 0, "World", "Align newly added objects to the world coordinates"},
+		{USER_ADD_VIEWALIGNED, "VIEW", 0, "View", "Align newly added objects facing the active 3D View direction"},
 		{0, NULL, 0, NULL, NULL}};
 
 	srna= RNA_def_struct(brna, "UserPreferencesEdit", NULL);
@@ -2083,7 +2083,7 @@
 	prop= RNA_def_property(srna, "object_align", PROP_ENUM, PROP_NONE);
 	RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag");
 	RNA_def_property_enum_items(prop, object_align_items);
-	RNA_def_property_ui_text(prop, "Align Object To", "Align newly added objects facing the 3D View direction or the world coordinates");
+	RNA_def_property_ui_text(prop, "Align Object To", "When adding objects from a 3D View menu, either align them to that view's direction or the world coordinates");
 
 	prop= RNA_def_property(srna, "enter_edit_mode", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_ADD_EDITMODE);





More information about the Bf-blender-cvs mailing list