And more UI messages fixes...
This commit is contained in:
@@ -962,8 +962,10 @@ void OBJECT_OT_origin_set(wmOperatorType *ot)
|
||||
{
|
||||
static EnumPropertyItem prop_set_center_types[] = {
|
||||
{GEOMETRY_TO_ORIGIN, "GEOMETRY_ORIGIN", 0, "Geometry to Origin", "Move object geometry to object origin"},
|
||||
{ORIGIN_TO_GEOMETRY, "ORIGIN_GEOMETRY", 0, "Origin to Geometry", "Move object origin to center of object geometry"},
|
||||
{ORIGIN_TO_CURSOR, "ORIGIN_CURSOR", 0, "Origin to 3D Cursor", "Move object origin to position of the 3d cursor"},
|
||||
{ORIGIN_TO_GEOMETRY, "ORIGIN_GEOMETRY", 0, "Origin to Geometry",
|
||||
"Move object origin to center of object geometry"},
|
||||
{ORIGIN_TO_CURSOR, "ORIGIN_CURSOR", 0, "Origin to 3D Cursor",
|
||||
"Move object origin to position of the 3D cursor"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
@@ -975,7 +977,7 @@ void OBJECT_OT_origin_set(wmOperatorType *ot)
|
||||
|
||||
/* identifiers */
|
||||
ot->name = "Set Origin";
|
||||
ot->description = "Set the object's origin, by either moving the data, or set to center of data, or use 3d cursor";
|
||||
ot->description = "Set the object's origin, by either moving the data, or set to center of data, or use 3D cursor";
|
||||
ot->idname = "OBJECT_OT_origin_set";
|
||||
|
||||
/* api callbacks */
|
||||
|
||||
@@ -1526,7 +1526,7 @@ int ED_area_header_switchbutton(const bContext *C, uiBlock *block, int yco)
|
||||
but = uiDefIconTextButC(block, ICONTEXTROW, 0, ICON_VIEW3D,
|
||||
editortype_pup(), xco, yco, UI_UNIT_X + 10, UI_UNIT_Y,
|
||||
&(sa->butspacetype), 1.0, SPACEICONMAX, 0, 0,
|
||||
TIP_("Display current editor type (click for menu of available types)"));
|
||||
TIP_("Display current editor type (click for a menu of available types)"));
|
||||
uiButSetFunc(but, spacefunc, NULL, NULL);
|
||||
uiButClearFlag(but, UI_BUT_UNDO); /* skip undo on screen buttons */
|
||||
|
||||
|
||||
@@ -1372,7 +1372,7 @@ static EnumPropertyItem prop_actkeys_snap_types[] = {
|
||||
{ACTKEYS_SNAP_CFRA, "CFRA", 0, "Current frame",
|
||||
"Snap selected keyframes to the current frame"},
|
||||
{ACTKEYS_SNAP_NEAREST_FRAME, "NEAREST_FRAME", 0, "Nearest Frame",
|
||||
"Snap selected keyframes to the nearest (whole) frame. Use to fix accidental sub-frame offsets"},
|
||||
"Snap selected keyframes to the nearest (whole) frame (use to fix accidental sub-frame offsets)"},
|
||||
{ACTKEYS_SNAP_NEAREST_SECOND, "NEAREST_SECOND", 0, "Nearest Second",
|
||||
"Snap selected keyframes to the nearest second"},
|
||||
{ACTKEYS_SNAP_NEAREST_MARKER, "NEAREST_MARKER", 0, "Nearest Marker",
|
||||
|
||||
@@ -1829,7 +1829,7 @@ static EnumPropertyItem prop_graphkeys_snap_types[] = {
|
||||
{GRAPHKEYS_SNAP_VALUE, "VALUE", 0, "Cursor Value",
|
||||
"Set values of selected keyframes to the cursor value (Y/Horizontal component)"},
|
||||
{GRAPHKEYS_SNAP_NEAREST_FRAME, "NEAREST_FRAME", 0, "Nearest Frame",
|
||||
"Snap selected keyframes to the nearest (whole) frame. Use to fix accidental sub-frame offsets"},
|
||||
"Snap selected keyframes to the nearest (whole) frame (use to fix accidental sub-frame offsets)"},
|
||||
{GRAPHKEYS_SNAP_NEAREST_SECOND, "NEAREST_SECOND", 0, "Nearest Second",
|
||||
"Snap selected keyframes to the nearest second"},
|
||||
{GRAPHKEYS_SNAP_NEAREST_MARKER, "NEAREST_MARKER", 0, "Nearest Marker",
|
||||
|
||||
@@ -3352,7 +3352,7 @@ void TEXT_OT_to_3d_object(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "To 3D Object";
|
||||
ot->idname = "TEXT_OT_to_3d_object";
|
||||
ot->description = "Create 3d text object from active text data block";
|
||||
ot->description = "Create 3D text object from active text data block";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec = text_to_3d_object_exec;
|
||||
|
||||
@@ -634,8 +634,8 @@ static void TRANSFORM_OT_tilt(struct wmOperatorType *ot)
|
||||
ot->name = "Tilt";
|
||||
/* optionals -
|
||||
* "Tilt selected vertices"
|
||||
* "Specify an extra axis rotation for selected vertices of 3d curve" */
|
||||
ot->description = "Tilt selected control vertices of 3d curve";
|
||||
* "Specify an extra axis rotation for selected vertices of 3D curve" */
|
||||
ot->description = "Tilt selected control vertices of 3D curve";
|
||||
ot->idname = OP_TILT;
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING;
|
||||
|
||||
|
||||
@@ -312,9 +312,9 @@ static void rna_def_gpencil_stroke(BlenderRNA *brna)
|
||||
|
||||
static EnumPropertyItem stroke_draw_mode_items[] = {
|
||||
{0, "SCREEN", 0, "Screen", "Stroke is in screen-space"},
|
||||
{GP_STROKE_3DSPACE, "3DSPACE", 0, "3d Space", "Stroke is in 3d-space"},
|
||||
{GP_STROKE_2DSPACE, "2DSPACE", 0, "2d Space", "stroke is in 2d-space"},
|
||||
{GP_STROKE_2DIMAGE, "2DIMAGE", 0, "2d Image", "Stroke is in 2d-space (but with special 'image' scaling)"},
|
||||
{GP_STROKE_3DSPACE, "3DSPACE", 0, "3D Space", "Stroke is in 3D-space"},
|
||||
{GP_STROKE_2DSPACE, "2DSPACE", 0, "2D Space", "Stroke is in 2D-space"},
|
||||
{GP_STROKE_2DIMAGE, "2DIMAGE", 0, "2D Image", "Stroke is in 2D-space (but with special 'image' scaling)"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
||||
@@ -1307,7 +1307,7 @@ static void rna_def_field(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "use_2d_force", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", PFIELD_TEX_2D);
|
||||
RNA_def_property_ui_text(prop, "2D", "Apply force only in 2d");
|
||||
RNA_def_property_ui_text(prop, "2D", "Apply force only in 2D");
|
||||
RNA_def_property_update(prop, 0, "rna_FieldSettings_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_root_coords", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -1324,7 +1324,7 @@ static void rna_def_background_image(BlenderRNA *brna)
|
||||
|
||||
srna = RNA_def_struct(brna, "BackgroundImage", NULL);
|
||||
RNA_def_struct_sdna(srna, "BGpic");
|
||||
RNA_def_struct_ui_text(srna, "Background Image", "Image and settings for display in the 3d View background");
|
||||
RNA_def_struct_ui_text(srna, "Background Image", "Image and settings for display in the 3D View background");
|
||||
|
||||
prop = RNA_def_property(srna, "source", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "source");
|
||||
|
||||
@@ -71,7 +71,7 @@ EnumPropertyItem texture_type_items[] = {
|
||||
{TEX_POINTDENSITY, "POINT_DENSITY", ICON_TEXTURE, "Point Density", ""},
|
||||
{TEX_STUCCI, "STUCCI", ICON_TEXTURE, "Stucci", "Procedural - create a fractal noise texture"},
|
||||
{TEX_VORONOI, "VORONOI", ICON_TEXTURE, "Voronoi", "Procedural - create cell-like patterns based on Worley noise"},
|
||||
{TEX_VOXELDATA, "VOXEL_DATA", ICON_TEXTURE, "Voxel Data", "Create a 3d texture based on volumetric data"},
|
||||
{TEX_VOXELDATA, "VOXEL_DATA", ICON_TEXTURE, "Voxel Data", "Create a 3D texture based on volumetric data"},
|
||||
{TEX_WOOD, "WOOD", ICON_TEXTURE, "Wood", "Procedural - wave generated bands or rings, with optional noise"},
|
||||
{TEX_OCEAN, "OCEAN", ICON_TEXTURE, "Ocean", "Use a texture generated by an Ocean modifier"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
|
||||
Reference in New Issue
Block a user