forked from bartvdbraak/blender
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.
This commit is contained in:
parent
7efe41bc22
commit
9bb23d93b0
@ -2064,8 +2064,8 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
||||
{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 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user